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