Hi,
the tomcat annotations-api.jar has the following annotations:
=================
anil@localhost:~/apache-tomcat-6.0.18/lib$ jar tvf annotations-api.jar
0 Tue Jul 22 02:00:40 CDT 2008 META-INF/
106 Tue Jul 22 02:00:38 CDT 2008 META-INF/MANIFEST.MF
0 Tue Jul 22 02:00:32 CDT 2008 javax/
0 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/
0 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/security/
637 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/Generated.class
396 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/PostConstruct.class
390 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/PreDestroy.class
1179 Tue Jul 22 02:00:30 CDT 2008
javax/annotation/Resource$AuthenticationType.class
903 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/Resource.class
427 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/Resources.class
433 Tue Jul 22 02:00:30 CDT 2008
javax/annotation/security/DeclareRoles.class
393 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/security/DenyAll.class
409 Tue Jul 22 02:00:30 CDT 2008
javax/annotation/security/PermitAll.class
447 Tue Jul 22 02:00:30 CDT 2008
javax/annotation/security/RolesAllowed.class
418 Tue Jul 22 02:00:30 CDT 2008 javax/annotation/security/RunAs.class
0 Tue Jul 22 02:00:30 CDT 2008 javax/ejb/
629 Tue Jul 22 02:00:30 CDT 2008 javax/ejb/EJB.class
398 Tue Jul 22 02:00:30 CDT 2008 javax/ejb/EJBs.class
0 Tue Jul 22 02:00:30 CDT 2008 javax/persistence/
737 Tue Jul 22 02:00:30 CDT 2008
javax/persistence/PersistenceContext.class
1085 Tue Jul 22 02:00:30 CDT 2008
javax/persistence/PersistenceContextType.class
459 Tue Jul 22 02:00:30 CDT 2008
javax/persistence/PersistenceContexts.class
404 Tue Jul 22 02:00:30 CDT 2008
javax/persistence/PersistenceProperty.class
524 Tue Jul 22 02:00:30 CDT 2008 javax/persistence/PersistenceUnit.class
450 Tue Jul 22 02:00:30 CDT 2008
javax/persistence/PersistenceUnits.class
0 Tue Jul 22 02:00:32 CDT 2008 javax/xml/
0 Tue Jul 22 02:00:32 CDT 2008 javax/xml/ws/
633 Tue Jul 22 02:00:32 CDT 2008 javax/xml/ws/WebServiceRef.class
434 Tue Jul 22 02:00:32 CDT 2008 javax/xml/ws/WebServiceRefs.class
=============================================
Some of these are generic cross cutting annotations that should not
reside in for example, the jboss ejb3 jars.
Carlo had mentioned sometime back that he intends to pull out the
annotations from ejb3 into a separate module
under javaee project.
I created
https://jira.jboss.org/jira/browse/JBEE-32 for this.
Regards,
Anil