Here is a list of all Java EE 5 Annotations.
JSR |
Annotation |
Retention Policy |
DD Tag(s) |
Notes |
---|---|---|---|---|
JSR 250 (Common Annotations) |
1. javax.annotation.Generated |
|
|
|
|
2. javax.annotation.PostConstruct |
|
|
|
|
3. javax.annotation.PreDestroy |
|
|
|
|
4. javax.annotation.Resource |
|
|
|
|
5. javax.annotation.Resources |
|
|
|
|
6. javax.annotation.security.DeclareRoles |
|
|
|
|
7. javax.annotation.security.DenyAll |
|
|
|
|
8. javax.annotation.security.PermitAll |
|
|
|
|
9. javax.annotation.security.RolesAllowed |
|
|
|
|
10. javax.annotation.security.RunAs |
|
|
|
JSR-220 (EJB 3.0) |
1. javax.ejb.ActivationConfigProperty |
|
|
|
|
javax.ejb.ApplicationException |
|
|
|
|
javax.ejb.EJB |
|
|
|
|
javax.ejb.EJBs |
|
|
|
|
javax.ejb.Init |
|
|
|
|
javax.ejb.Local |
|
|
|
|
javax.ejb.LocalHome |
|
|
|
|
javax.ejb.MessageDriven |
|
|
|
|
javax.ejb.PostActivate |
|
|
|
|
javax.ejb.PrePassivate |
|
|
|
|
javax.ejb.Remote |
|
|
|
|
javax.ejb.RemoteHome |
|
|
|
|
javax.ejb.Remove |
|
|
|
|
javax.ejb.Stateful |
|
|
|
|
javax.ejb.Stateless |
|
|
|
|
javax.ejb.Timeout |
|
|
|
|
javax.ejb.TransactionAttribute |
|
|
|
|
javax.ejb.TransactionManagement |
|
|
|
|
javax.interceptor.AroundInvoke |
|
|
|
|
javax.interceptor.ExcludeClassInterceptors |
|
|
|
|
javax.interceptor.ExcludeDefaultInterceptors |
|
|
|
|
javax.interceptor.Interceptors |
|
|
|
|
javax.jws.HandlerChain |
|
|
|
|
javax.jws.Oneway |
|
|
|
|
javax.jws.WebMethod |
|
|
|
|
javax.jws.WebParam |
|
|
|
|
javax.jws.WebResult |
|
|
|
|
javax.jws.WebService |
|
|
|
|
javax.jws.soap.InitParam |
|
|
|
|
javax.jws.soap.SOAPBinding |
|
|
|
|
javax.jws.soap.SOAPMessageHandler |
|
|
|
|
javax.jws.soap.SOAPMessageHandlers |
|
|
|
|
javax.persistence.AssociationOverride |
|
|
|
|
javax.persistence.AssociationOverrides |
|
|
|
|
javax.persistence.AttributeOverride |
|
|
|
|
javax.persistence.AttributeOverrides |
|
|
|
|
javax.persistence.Basic |
|
|
|
|
javax.persistence.Column |
|
|
|
|
javax.persistence.ColumnResult |
|
|
|
|
javax.persistence.DiscriminatorColumn |
|
|
|
|
javax.persistence.DiscriminatorValue |
|
|
|
|
javax.persistence.Embeddable |
|
|
|
|
javax.persistence.Embedded |
|
|
|
|
javax.persistence.EmbeddedId |
|
|
|
|
javax.persistence.Entity |
|
|
|
|
javax.persistence.EntityListeners |
|
|
|
|
javax.persistence.EntityResult |
|
|
|
|
javax.persistence.Enumerated |
|
|
|
|
javax.persistence.ExcludeDefaultListeners |
|
|
|
|
javax.persistence.ExcludeSuperclassListeners |
|
|
|
|
javax.persistence.FieldResult |
|
|
|
|
javax.persistence.GeneratedValue |
|
|
|
|
javax.persistence.Id |
|
|
|
|
javax.persistence.IdClass |
|
|
|
|
javax.persistence.Inheritance |
|
|
|
|
javax.persistence.JoinColumn |
|
|
|
|
javax.persistence.JoinColumns |
|
|
|
|
javax.persistence.JoinTable |
|
|
|
|
javax.persistence.Lob |
|
|
|
|
javax.persistence.ManyToMany |
|
|
|
|
javax.persistence.ManyToOne |
|
|
|
|
javax.persistence.MapKey |
|
|
|
|
javax.persistence.MappedSuperclass |
|
|
|
|
javax.persistence.NamedNativeQueries |
|
|
|
|
javax.persistence.NamedNativeQuery |
|
|
|
|
javax.persistence.NamedQueries |
|
|
|
|
javax.persistence.NamedQuery |
|
|
|
|
javax.persistence.OneToMany |
|
|
|
|
javax.persistence.OneToOne |
|
|
|
|
javax.persistence.OrderBy |
|
|
|
|
javax.persistence.PersistenceContext |
|
|
|
|
javax.persistence.PersistenceContexts |
|
|
|
|
javax.persistence.PersistenceProperty |
|
|
|
|
javax.persistence.PersistenceUnit |
|
|
|
|
javax.persistence.PersistenceUnits |
|
|
|
|
javax.persistence.PostLoad |
|
|
|
|
javax.persistence.PostPersist |
|
|
|
|
javax.persistence.PostRemove |
|
|
|
|
javax.persistence.PostUpdate |
|
|
|
|
javax.persistence.PrePersist |
|
|
|
|
javax.persistence.PreRemove |
|
|
|
|
javax.persistence.PreUpdate |
|
|
|
|
javax.persistence.PrimaryKeyJoinColumn |
|
|
|
|
javax.persistence.PrimaryKeyJoinColumns |
|
|
|
|
javax.persistence.QueryHint |
|
|
|
|
javax.persistence.SecondaryTable |
|
|
|
|
javax.persistence.SecondaryTables |
|
|
|
|
javax.persistence.SequenceGenerator |
|
|
|
|
javax.persistence.SqlResultSetMapping |
|
|
|
|
javax.persistence.SqlResultSetMappings |
|
|
|
|
javax.persistence.Table |
|
|
|
|
javax.persistence.TableGenerator |
|
|
|
|
javax.persistence.Temporal |
|
|
|
|
javax.persistence.Transient |
|
|
|
|
javax.persistence.UniqueConstraint |
|
|
|
|
javax.persistence.Version |
|
|
|
|
javax.xml.bind.annotation.XmlAccessorOrder |
|
|
|
|
javax.xml.bind.annotation.XmlAccessorType |
|
|
|
|
javax.xml.bind.annotation.XmlAnyAttribute |
|
|
|
|
javax.xml.bind.annotation.XmlAnyElement |
|
|
|
|
javax.xml.bind.annotation.XmlAttachmentRef |
|
|
|
|
javax.xml.bind.annotation.XmlAttribute |
|
|
|
|
javax.xml.bind.annotation.XmlElement |
|
|
|
|
javax.xml.bind.annotation.XmlElementDecl |
|
|
|
|
javax.xml.bind.annotation.XmlElementRef |
|
|
|
|
javax.xml.bind.annotation.XmlElementRefs |
|
|
|
|
javax.xml.bind.annotation.XmlElementWrapper |
|
|
|
|
javax.xml.bind.annotation.XmlElements |
|
|
|
|
javax.xml.bind.annotation.XmlEnum |
|
|
|
|
javax.xml.bind.annotation.XmlEnumValue |
|
|
|
|
javax.xml.bind.annotation.XmlID |
|
|
|
|
javax.xml.bind.annotation.XmlIDREF |
|
|
|
|
javax.xml.bind.annotation.XmlInlineBinaryData |
|
|
|
|
javax.xml.bind.annotation.XmlList |
|
|
|
|
javax.xml.bind.annotation.XmlMimeType |
|
|
|
|
javax.xml.bind.annotation.XmlMixed |
|
|
|
|
javax.xml.bind.annotation.XmlNs |
|
|
|
|
javax.xml.bind.annotation.XmlRegistry |
|
|
|
|
javax.xml.bind.annotation.XmlRootElement |
|
|
|
|
javax.xml.bind.annotation.XmlSchema |
|
|
|
|
javax.xml.bind.annotation.XmlSchemaType |
|
|
|
|
javax.xml.bind.annotation.XmlSchemaTypes |
|
|
|
|
javax.xml.bind.annotation.XmlTransient |
|
|
|
|
javax.xml.bind.annotation.XmlType |
|
|
|
|
javax.xml.bind.annotation.XmlValue |
|
|
|
|
javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter |
|
|
|
|
javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters |
|
|
|
|
javax.xml.ws.BindingType |
|
|
|
|
javax.xml.ws.RequestWrapper |
|
|
|
|
javax.xml.ws.ResponseWrapper |
|
|
|
|
javax.xml.ws.ServiceMode |
|
|
|
|
javax.xml.ws.WebEndpoint |
|
|
|
|
javax.xml.ws.WebFault |
|
|
|
|
javax.xml.ws.WebServiceClient |
|
|
|
|
javax.xml.ws.WebServiceProvider |
|
|
|
|
javax.xml.ws.WebServiceRef |
|
|
|
|
javax.xml.ws.WebServiceRefs |
|
|
|
|
javax.xml.ws.addressing.Action |
|
|
|
|
javax.xml.ws.addressing.FaultAction |
|
|
|