HomeApache Geronimo Development > Index > Java EE 5 Annotations

Here is a list of all Java EE 5 Annotations:

JSR Annotation DD Tag(s) Supported in Notes Deployment implementation Runtime implementation
JSR 250
(Common
Annotations)
1. javax.annotation.Generated   Client JAR
EJB JAR
RAR
WAR
The only annotation with SOURCE retention. All the others are RUNTIME. Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  2. javax.annotation.PostConstruct post-construct Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  3. javax.annotation.PreDestroy pre-destroy Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.annotation.Resource 1. env-entry Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.annotation.Resource 2. service-ref Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.annotation.Resource 3. resource-ref Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.annotation.Resource 4. message-destination-ref Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.annotation.Resource 5. resource-env-ref Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.annotation.Resource 6. webservice-context Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  5. javax.annotation.Resources     Same as javax.annotation.Resource    
  6. javax.annotation.security.DeclareRoles security-role-ref Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  7. javax.annotation.security.DenyAll   Client JAR
EJB JAR
RAR
WAR
Not supported in servlets. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  8. javax.annotation.security.PermitAll unchecked Client JAR
EJB JAR
RAR
WAR
Not supported in servlets. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  9. javax.annotation.security.RolesAllowed role-name Client JAR
EJB JAR
RAR
WAR
Not supported in servlets. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  10. javax.annotation.security.RunAs run-as Client JAR
EJB JAR
RAR
WAR
Servlets only. See Java™ Platform, Enterprise Edition (Java EE) Specification, v5, Page 141, Section EE.6.24, Table EE.6-E Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
JSR Annotation DD Tag(s) Supported in Notes Deployment implementation Runtime implementation
JSR-220
(EJB 3.0)
1. javax.ejb.ActivationConfigProperty activation-config-property Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  2. javax.ejb.ApplicationException application-exception Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  3. javax.ejb.EJB 1. ejb-ref Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  3. javax.ejb.EJB 2. ejb-local-ref Client JAR
EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.1, Section JSP.7.1.11 Resource Injection Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.ejb.EJBs     Same as javax.ejb.EJB    
  5. javax.ejb.Init   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  6. javax.ejb.Local local Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  7. javax.ejb.LocalHome local-home Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  8. javax.ejb.MessageDriven message-driven Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  9. javax.ejb.PostActivate post-activate Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  10. javax.ejb.PrePassivate pre-passivate Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  11. javax.ejb.Remote remote Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  12. javax.ejb.RemoteHome home Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  13. javax.ejb.Remove   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  14. javax.ejb.Stateful stateful Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  15. javax.ejb.Stateless stateless Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  16. javax.ejb.Timeout   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  17. javax.ejb.TransactionAttribute trans-attribute Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  18. javax.ejb.TransactionManagement   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
JSR Annotation DD Tag(s) Supported in Notes Deployment implementation Runtime implementation
JSR-220
(EJB 3.0)
1. javax.interceptor.AroundInvoke around-invoke Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  2. javax.interceptor.ExcludeClassInterceptors exclude-class-interceptors Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  3. javax.interceptor.ExcludeDefaultInterceptors exclude-default-interceptors Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.interceptor.Interceptors interceptors Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
JSR Annotation DD Tag(s) Supported in Notes Deployment implementation Runtime implementation
JSR-181
(Web
Services
Metadata 2.0)
1. javax.jws.HandlerChain handler-chain Client JAR
EJB JAR
RAR
WAR
HC
See Web Services Metadata for the JavaTM Platform, Section 4.6 Annotation HandlerChain Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  2. javax.jws.Oneway   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  3. javax.jws.WebMethod   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  4. javax.jws.WebParam   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  5. javax.jws.WebResult   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  6. javax.jws.WebService service-ref-type Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
Geronimo
OpenEJB
OpenJPA
Axis2/CFX
JAXB
  7. javax.jws.soap.InitParam   Client JAR
EJB JAR
RAR
WAR
  Geronimo
OpenEJB