Here is a list of all Java EE 5 Annotations:
JSR |
Annotation |
DD Tag(s) |
Supported in |
Notes |
Deployment implementation |
Runtime implementation |
---|---|---|---|---|---|---|
JSR 250 |
1. javax.annotation.Generated |
|
Client JAR |
The only annotation with SOURCE retention. All the others are RUNTIME. |
Geronimo |
Geronimo |
|
2. javax.annotation.PostConstruct |
post-construct |
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.annotation.PreDestroy |
pre-destroy |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.annotation.Resource |
1. env-entry |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.annotation.Resource |
2. service-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.annotation.Resource |
3. resource-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.annotation.Resource |
4. message-destination-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.annotation.Resource |
5. resource-env-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.annotation.Resource |
6. webservice-context |
Client JAR |
|
Geronimo |
Geronimo |
|
5. javax.annotation.Resources |
|
|
Same as javax.annotation.Resource |
|
|
|
6. javax.annotation.security.DeclareRoles |
security-role-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
7. javax.annotation.security.DenyAll |
|
Client JAR |
Not supported in servlets |
Geronimo |
Geronimo |
|
8. javax.annotation.security.PermitAll |
|
Client JAR |
Not supported in servlets |
Geronimo |
Geronimo |
|
9. javax.annotation.security.RolesAllowed |
|
Client JAR |
Not supported in servlets |
Geronimo |
Geronimo |
|
10. javax.annotation.security.RunAs |
run-as |
Client JAR |
Servlets only |
Geronimo |
Geronimo |
JSR |
Annotation |
DD Tag(s) |
Supported in |
Notes |
Deployment implementation |
Runtime implementation |
JSR-220 |
1. javax.ejb.ActivationConfigProperty |
activation-config-property |
Client JAR |
|
Geronimo |
Geronimo |
|
2. javax.ejb.ApplicationException |
application-exception |
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.ejb.EJB |
1. ejb-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.ejb.EJB |
2. ejb-local-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.ejb.EJBs |
|
|
Same as javax.ejb.EJB |
|
|
|
5. javax.ejb.Init |
|
Client JAR |
|
Geronimo |
Geronimo |
|
6. javax.ejb.Local |
local |
Client JAR |
|
Geronimo |
Geronimo |
|
7. javax.ejb.LocalHome |
local-home |
Client JAR |
|
Geronimo |
Geronimo |
|
8. javax.ejb.MessageDriven |
message-driven |
Client JAR |
|
Geronimo |
Geronimo |
|
9. javax.ejb.PostActivate |
post-activate |
Client JAR |
|
Geronimo |
Geronimo |
|
10. javax.ejb.PrePassivate |
pre-passivate |
Client JAR |
|
Geronimo |
Geronimo |
|
11. javax.ejb.Remote |
remote |
Client JAR |
|
Geronimo |
Geronimo |
|
12. javax.ejb.RemoteHome |
home |
Client JAR |
|
Geronimo |
Geronimo |
|
13. javax.ejb.Remove |
|
Client JAR |
|
Geronimo |
Geronimo |
|
14. javax.ejb.Stateful |
stateful |
Client JAR |
|
Geronimo |
Geronimo |
|
15. javax.ejb.Stateless |
stateless |
Client JAR |
|
Geronimo |
Geronimo |
|
16. javax.ejb.Timeout |
|
Client JAR |
|
Geronimo |
Geronimo |
|
17. javax.ejb.TransactionAttribute |
trans-attribute |
Client JAR |
|
Geronimo |
Geronimo |
|
18. javax.ejb.TransactionManagement |
|
Client JAR |
|
Geronimo |
Geronimo |
JSR |
Annotation |
DD Tag(s) |
Supported in |
Notes |
Deployment implementation |
Runtime implementation |
JSR-220 |
1. javax.interceptor.AroundInvoke |
around-invoke |
Client JAR |
|
Geronimo |
Geronimo |
|
2. javax.interceptor.ExcludeClassInterceptors |
exclude-class-interceptors |
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.interceptor.ExcludeDefaultInterceptors |
exclude-default-interceptors |
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.interceptor.Interceptors |
interceptors |
Client JAR |
|
Geronimo |
Geronimo |
JSR |
Annotation |
DD Tag(s) |
Supported in |
Notes |
Deployment implementation |
Runtime implementation |
JSR-181 |
1. javax.jws.HandlerChain |
handler-chain |
Client JAR |
|
Geronimo |
Geronimo |
|
2. javax.jws.Oneway |
|
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.jws.WebMethod |
|
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.jws.WebParam |
|
Client JAR |
|
Geronimo |
Geronimo |
|
5. javax.jws.WebResult |
|
Client JAR |
|
Geronimo |
Geronimo |
|
6. javax.jws.WebService |
service-ref-type |
Client JAR |
|
Geronimo |
Geronimo |
|
7. javax.jws.soap.InitParam |
|
Client JAR |
|
Geronimo |
Geronimo |
|
8. javax.jws.soap.SOAPBinding |
|
Client JAR |
|
Geronimo |
Geronimo |
|
9. javax.jws.soap.SOAPMessageHandler |
|
Client JAR |
|
Geronimo |
Geronimo |
|
10. javax.jws.soap.SOAPMessageHandlers |
|
|
Same as javax.jws.soap.SOAPMessageHandler |
|
|
JSR |
Annotation |
DD Tag(s) |
Supported in |
Notes |
Deployment implementation |
Runtime implementation |
JSR-220 |
1. javax.persistence.AssociationOverride |
|
Client JAR |
|
Geronimo |
Geronimo |
|
2. javax.persistence.AssociationOverrides |
|
|
Same as javax.persistence.AssociationOverride |
|
|
|
3. javax.persistence.AttributeOverride |
|
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.persistence.AttributeOverrides |
|
|
javax.persistence.AttributeOverride |
|
|
|
5. javax.persistence.Basic |
|
Client JAR |
|
Geronimo |
Geronimo |
|
6. javax.persistence.Column |
|
Client JAR |
|
Geronimo |
Geronimo |
|
7. javax.persistence.ColumnResult |
|
Client JAR |
|
Geronimo |
Geronimo |
|
8. javax.persistence.DiscriminatorColumn |
|
Client JAR |
|
Geronimo |
Geronimo |
|
9. javax.persistence.DiscriminatorValue |
|
Client JAR |
|
Geronimo |
Geronimo |
|
10. javax.persistence.Embeddable |
|
Client JAR |
|
Geronimo |
Geronimo |
|
11. javax.persistence.Embedded |
|
Client JAR |
|
Geronimo |
Geronimo |
|
12. javax.persistence.EmbeddedId |
|
Client JAR |
|
Geronimo |
Geronimo |
|
13. javax.persistence.Entity |
|
Client JAR |
|
Geronimo |
Geronimo |
|
14. javax.persistence.EntityListeners |
|
Client JAR |
|
Geronimo |
Geronimo |
|
15. javax.persistence.EntityResult |
|
Client JAR |
|
Geronimo |
Geronimo |
|
16. javax.persistence.Enumerated |
|
Client JAR |
|
Geronimo |
Geronimo |
|
17. javax.persistence.ExcludeDefaultListeners |
|
Client JAR |
|
Geronimo |
Geronimo |
|
18. javax.persistence.ExcludeSuperclassListeners |
|
Client JAR |
|
Geronimo |
Geronimo |
|
19. javax.persistence.FieldResult |
|
Client JAR |
|
Geronimo |
Geronimo |
|
20. javax.persistence.GeneratedValue |
|
Client JAR |
|
Geronimo |
Geronimo |
|
21. javax.persistence.Id |
|
Client JAR |
|
Geronimo |
Geronimo |
|
22. javax.persistence.IdClass |
|
Client JAR |
|
Geronimo |
Geronimo |
|
23. javax.persistence.Inheritance |
|
Client JAR |
|
Geronimo |
Geronimo |
|
24. javax.persistence.JoinColumn |
|
Client JAR |
|
Geronimo |
Geronimo |
|
25. javax.persistence.JoinColumns |
|
|
Same as javax.persistence.JoinColumn |
|
|
|
26. javax.persistence.JoinTable |
|
Client JAR |
|
Geronimo |
Geronimo |
|
27. javax.persistence.Lob |
|
Client JAR |
|
Geronimo |
Geronimo |
|
28. javax.persistence.ManyToMany |
|
Client JAR |
|
Geronimo |
Geronimo |
|
29. javax.persistence.ManyToOne |
|
Client JAR |
|
Geronimo |
Geronimo |
|
30. javax.persistence.MapKey |
|
Client JAR |
|
Geronimo |
Geronimo |
|
31. javax.persistence.MappedSuperclass |
|
Client JAR |
|
Geronimo |
Geronimo |
|
32. javax.persistence.NamedNativeQueries |
|
Client JAR |
|
Geronimo |
Geronimo |
|
33. javax.persistence.NamedNativeQuery |
|
Client JAR |
|
Geronimo |
Geronimo |
|
34. javax.persistence.NamedQueries |
|
Client JAR |
|
Geronimo |
Geronimo |
|
35. javax.persistence.NamedQuery |
|
Client JAR |
|
Geronimo |
Geronimo |
|
36. javax.persistence.OneToMany |
|
Client JAR |
|
Geronimo |
Geronimo |
|
37. javax.persistence.OneToOne |
|
Client JAR |
|
Geronimo |
Geronimo |
|
38. javax.persistence.OrderBy |
|
Client JAR |
|
Geronimo |
Geronimo |
|
39. javax.persistence.PersistenceContext |
persistence-context-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
40. javax.persistence.PersistenceContexts |
|
|
Same as javax.persistence.PersistenceContext |
|
|
|
41. javax.persistence.PersistenceProperty |
persistence-property |
Client JAR |
|
Geronimo |
Geronimo |
|
42. javax.persistence.PersistenceUnit |
persistence-unit-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
43. javax.persistence.PersistenceUnits |
|
|
Same as javax.persistence.PersistenceUnits |
|
|
|
44. javax.persistence.PostLoad |
|
Client JAR |
|
Geronimo |
Geronimo |
|
45. javax.persistence.PostPersist |
|
Client JAR |
|
Geronimo |
Geronimo |
|
46. javax.persistence.PostRemove |
|
Client JAR |
|
Geronimo |
Geronimo |
|
47. javax.persistence.PostUpdate |
|
Client JAR |
|
Geronimo |
Geronimo |
|
48. javax.persistence.PrePersist |
|
Client JAR |
|
Geronimo |
Geronimo |
|
49. javax.persistence.PreRemove |
|
Client JAR |
|
Geronimo |
Geronimo |
|
50. javax.persistence.PreUpdate |
|
Client JAR |
|
Geronimo |
Geronimo |
|
51. javax.persistence.PrimaryKeyJoinColumn |
|
Client JAR |
|
Geronimo |
Geronimo |
|
52. javax.persistence.PrimaryKeyJoinColumns |
|
|
Same as javax.persistence.PrimaryKeyJoinColumn |
|
|
|
53. javax.persistence.QueryHint |
|
Client JAR |
|
Geronimo |
Geronimo |
|
54. javax.persistence.SecondaryTable |
|
Client JAR |
|
Geronimo |
Geronimo |
|
55. javax.persistence.SecondaryTables |
|
|
Same as javax.persistence.SecondaryTable |
|
|
|
56. javax.persistence.SequenceGenerator |
|
Client JAR |
|
Geronimo |
Geronimo |
|
57. javax.persistence.SqlResultSetMapping |
|
Client JAR |
|
Geronimo |
Geronimo |
|
58. javax.persistence.SqlResultSetMappings |
|
|
Same as javax.persistence.SqlResultSetMapping |
|
|
|
59. javax.persistence.Table |
|
Client JAR |
|
Geronimo |
Geronimo |
|
60. javax.persistence.TableGenerator |
|
Client JAR |
|
Geronimo |
Geronimo |
|
61. javax.persistence.Temporal |
|
Client JAR |
|
Geronimo |
Geronimo |
|
62. javax.persistence.Transient |
|
Client JAR |
|
Geronimo |
Geronimo |
|
63. javax.persistence.UniqueConstraint |
|
Client JAR |
|
Geronimo |
Geronimo |
|
64. javax.persistence.Version |
|
Client JAR |
|
Geronimo |
Geronimo |
JSR |
Annotation |
DD Tag(s) |
Supported in |
Notes |
Deployment implementation |
Runtime implementation |
JSR-222 |
1. javax.xml.bind.annotation.XmlAccessorOrder |
|
Client JAR |
|
Geronimo |
Geronimo |
|
2. javax.xml.bind.annotation.XmlAccessorType |
|
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.xml.bind.annotation.XmlAnyAttribute |
|
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.xml.bind.annotation.XmlAnyElement |
|
Client JAR |
|
Geronimo |
Geronimo |
|
5. javax.xml.bind.annotation.XmlAttachmentRef |
|
Client JAR |
|
Geronimo |
Geronimo |
|
6. javax.xml.bind.annotation.XmlAttribute |
|
Client JAR |
|
Geronimo |
Geronimo |
|
7. javax.xml.bind.annotation.XmlElement |
|
Client JAR |
|
Geronimo |
Geronimo |
|
8. javax.xml.bind.annotation.XmlElementDecl |
|
Client JAR |
|
Geronimo |
Geronimo |
|
9. javax.xml.bind.annotation.XmlElementRef |
|
Client JAR |
|
Geronimo |
Geronimo |
|
10. javax.xml.bind.annotation.XmlElementRefs |
|
|
Same as javax.xml.bind.annotation.XmlElementRef |
|
|
|
11. javax.xml.bind.annotation.XmlElementWrapper |
|
Client JAR |
|
Geronimo |
Geronimo |
|
12. javax.xml.bind.annotation.XmlElements |
|
|
Same as javax.xml.bind.annotation.XmlElement |
|
|
|
13. javax.xml.bind.annotation.XmlEnum |
|
Client JAR |
|
Geronimo |
Geronimo |
|
14. javax.xml.bind.annotation.XmlEnumValue |
|
Client JAR |
|
Geronimo |
Geronimo |
|
15. javax.xml.bind.annotation.XmlID |
|
Client JAR |
|
Geronimo |
Geronimo |
|
16. javax.xml.bind.annotation.XmlIDREF |
|
Client JAR |
|
Geronimo |
Geronimo |
|
17. javax.xml.bind.annotation.XmlInlineBinaryData |
|
Client JAR |
|
Geronimo |
Geronimo |
|
18. javax.xml.bind.annotation.XmlList |
|
Client JAR |
|
Geronimo |
Geronimo |
|
19. javax.xml.bind.annotation.XmlMimeType |
|
Client JAR |
|
Geronimo |
Geronimo |
|
20. javax.xml.bind.annotation.XmlMixed |
|
Client JAR |
|
Geronimo |
Geronimo |
|
21. javax.xml.bind.annotation.XmlNs |
|
Client JAR |
|
Geronimo |
Geronimo |
|
22. javax.xml.bind.annotation.XmlRegistry |
|
Client JAR |
|
Geronimo |
Geronimo |
|
23. javax.xml.bind.annotation.XmlRootElement |
|
Client JAR |
|
Geronimo |
Geronimo |
|
24. javax.xml.bind.annotation.XmlSchema |
|
Client JAR |
|
Geronimo |
Geronimo |
|
25. javax.xml.bind.annotation.XmlSchemaType |
|
Client JAR |
|
Geronimo |
Geronimo |
|
26. javax.xml.bind.annotation.XmlSchemaTypes |
|
|
Same as javax.xml.bind.annotation.XmlSchemaType |
|
|
|
27. javax.xml.bind.annotation.XmlTransient |
|
Client JAR |
|
Geronimo |
Geronimo |
|
28. javax.xml.bind.annotation.XmlType |
|
Client JAR |
|
Geronimo |
Geronimo |
|
29. javax.xml.bind.annotation.XmlValue |
|
Client JAR |
|
Geronimo |
Geronimo |
|
30. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter |
|
Client JAR |
|
Geronimo |
Geronimo |
|
31. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters |
|
|
Same as javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter |
|
|
JSR |
Annotation |
DD Tag(s) |
Supported_in |
Notes |
Deployment implementation |
Runtime implementation |
JSR-224 |
1. javax.xml.ws.BindingType |
|
Client JAR |
|
Geronimo |
Geronimo |
|
2. javax.xml.ws.RequestWrapper |
|
Client JAR |
|
Geronimo |
Geronimo |
|
3. javax.xml.ws.ResponseWrapper |
|
Client JAR |
|
Geronimo |
Geronimo |
|
4. javax.xml.ws.ServiceMode |
|
Client JAR |
|
Geronimo |
Geronimo |
|
5. javax.xml.ws.WebEndpoint |
|
Client JAR |
|
Geronimo |
Geronimo |
|
6. javax.xml.ws.WebFault |
|
Client JAR |
|
Geronimo |
Geronimo |
|
7. javax.xml.ws.WebServiceClient |
|
Client JAR |
|
Geronimo |
Geronimo |
|
8. javax.xml.ws.WebServiceProvider |
|
Client JAR |
|
Geronimo |
Geronimo |
|
9. javax.xml.ws.WebServiceRef |
service-ref |
Client JAR |
|
Geronimo |
Geronimo |
|
10. javax.xml.ws.WebServiceRefs |
|
|
Same as javax.xml.ws.WebServiceRef |
|
|
|
11. javax.xml.ws.addressing.Action |
|
Client JAR |
|
Geronimo |
Geronimo |
|
12. javax.xml.ws.addressing.FaultAction |
|
Client JAR |
|
Geronimo |
Geronimo |