[bv-dev] JavaEE Platform Annotation rules.

Edward Burns edward.burns at oracle.com
Fri Feb 10 09:20:54 EST 2012

Hello Experts,

The discussion in this list about annotation inheritance and method
level validation reminded me of this collection of rules to that effect,
so, here they are.

I want to bring to your attention this document from JavaEE platform
architect Bill Shannon about annotations.

From: Bill Shannon

B> I've written up a set of "meta-rules" for annotations, that is,
B> rules for how annotations should be defined to work.  These rules
B> collect together information that is in some of our specs while
B> also providing some of the design principles we had in mind when
B> we first started using annotations.

B> Of course, there's also a bunch of exceptions and special cases
B> that I've tried to document.

B> http://java.net/projects/javaee-spec/pages/AnnotationRules

B> Your feedback is encouraged, either privately or on the list.
B> Feel free to forward this message to other experts and expert groups.


| edward.burns at oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/

More information about the beanvalidation-dev mailing list