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