Platform wide guideline for build-in annotation literals?


Arjan Tijms
 

Hi,

CDI 2.0 introduced a number of very convenient build-in annotation literals, for many of the annotations it owns and for some it doesn't own (JSR 330).

See: http://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#built_in_annotation_literals

I think something like this would be a prime candidate for an umbrella spec guideline so:

1. All specs do this for their relevant annotations (e.g. @Transactional in JTA, @ViewScoped in JSF, @RememberMe in Security, @Named in AtInject, etc)
2. All specs do this in a consistent way

Thoughts?

Kind regards,
Arjan Tijms

Join javaee-spec@javaee.groups.io to automatically receive all group messages.