You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 81 Next »

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

 

(error) Client JAR
(error) EJB JAR
(error) RAR
(error) WAR

The only annotation with SOURCE retention. All the others are
RUNTIME.

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

2. javax.annotation.PostConstruct

post-construct

(error) Client JAR
(tick) EJB JAR
(error) RAR
(tick) WAR

 

(tick) Geronimo
(error) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

3. javax.annotation.PreDestroy

pre-destroy

(error) Client JAR
(tick) EJB JAR
(error) RAR
(tick) WAR

 

(tick) Geronimo
(error) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

4. javax.annotation.Resource

1. env-entry

(error) Client JAR
(tick) EJB JAR
(error) RAR
(tick) WAR

 

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

4. javax.annotation.Resource

2. service-ref

(error) Client JAR
(tick) EJB JAR
(error) RAR
(tick) WAR

 

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

4. javax.annotation.Resource

3. resource-ref

(error) Client JAR
(tick) EJB JAR
(tick) RAR
(tick) WAR

 

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

4. javax.annotation.Resource

4. message-destination-ref

(error) Client JAR
(tick) EJB JAR
(tick) RAR
(tick) WAR

 

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

4. javax.annotation.Resource

5. resource-env-ref

(error) Client JAR
(tick) EJB JAR
(tick) RAR
(tick) WAR

 

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

4. javax.annotation.Resource

6. webservice-context

(error) Client JAR
(tick) EJB JAR
(error) RAR
(tick) WAR

 

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(tick) Axis2/CFX
(tick) JAXB

(tick) Geronimo
(tick) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

5. javax.annotation.Resources

 

 

Same as Resource

 

 

 

6. javax.annotation.security.DeclareRoles

security-role-ref

(error) Client JAR
(error) EJB JAR
(error) RAR
(error) WAR

 

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

7. javax.annotation.security.DenyAll

 

(error) Client JAR
(error) EJB JAR
(error) RAR
(error) WAR

Not supported in servlets

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

8. javax.annotation.security.PermitAll

 

(error) Client JAR
(error) EJB JAR
(error) RAR
(error) WAR

Not supported in servlets

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

9. javax.annotation.security.RolesAllowed

 

(error) Client JAR
(error) EJB JAR
(error) RAR
(error) WAR

Not supported in servlets

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

 

10. javax.annotation.security.RunAs

run-as

(error) Client JAR
(error) EJB JAR
(error) RAR
(error) WAR

Servlets only

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) JAXB

(error) Geronimo
(error) OpenEJB
(error) OpenJPA
(error) Axis2/CFX
(error) 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

 

OpenEJB

 

 

2. javax.ejb.ApplicationException

application-exception

 

OpenEJB

 

 

3. javax.ejb.EJB

ejb-ref
ejb-local-ref

1. App client application
2. EJB application
3. Web application

 

1. (tick)
2. (tick)
3. (tick)

 

4. javax.ejb.EJBs

 

 

Same as EJB

 

 

5. javax.ejb.Init

 

 

OpenEJB

 

 

6. javax.ejb.Local

local

 

OpenEJB

 

 

7. javax.ejb.LocalHome

local-home

 

OpenEJB

 

 

8. javax.ejb.MessageDriven

message-driven

 

OpenEJB

 

 

9. javax.ejb.PostActivate

post-activate

 

OpenEJB

 

 

10. javax.ejb.PrePassivate

pre-passivate

 

OpenEJB

 

 

11. javax.ejb.Remote

remote

 

OpenEJB

 

 

12. javax.ejb.RemoteHome

home

 

OpenEJB

 

 

13. javax.ejb.Remove

 

 

OpenEJB

 

 

14. javax.ejb.Stateful

stateful

 

OpenEJB

 

 

15. javax.ejb.Stateless

stateless

 

OpenEJB

 

 

16. javax.ejb.Timeout

 

 

OpenEJB

 

 

17. javax.ejb.TransactionAttribute

trans-attribute

 

OpenEJB

 

 

18. javax.ejb.TransactionManagement

 

 

OpenEJB

 

JSR

Annotation

DD Tag(s)

Supported in

Notes

Deployment implementation

Runtime implementation

JSR-220
(EJB 3.0)

1. javax.interceptor.AroundInvoke

around-invoke

 

 

(error)

 

2. javax.interceptor.ExcludeClassInterceptors

exclude-class-interceptors

 

 

(error)

 

3. javax.interceptor.ExcludeDefaultInterceptors

exclude-default-interceptors

 

 

(error)

 

4. javax.interceptor.Interceptors

interceptors

 

 

(error)

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

 

 

(error)

 

2. javax.jws.Oneway

 

 

 

 

 

3. javax.jws.WebMethod

 

 

 

 

 

4. javax.jws.WebParam

 

 

 

 

 

5. javax.jws.WebResult

 

 

 

 

 

6. javax.jws.WebService

service-ref-type

 

 

(error)

 

7. javax.jws.soap.InitParam

 

 

 

 

 

8. javax.jws.soap.SOAPBinding

 

 

 

 

 

9. javax.jws.soap.SOAPMessageHandler

 

 

 

 

 

10. javax.jws.soap.SOAPMessageHandlers

 

 

 

 

JSR

Annotation

DD Tag(s)

Supported in

Notes

Deployment implementation

Runtime implementation

JSR-220
(JPA 1.0)

1. javax.persistence.AssociationOverride

 

 

 

 

 

2. javax.persistence.AssociationOverrides

 

 

 

 

 

3. javax.persistence.AttributeOverride

 

 

 

 

 

4. javax.persistence.AttributeOverrides

 

 

 

 

 

5. javax.persistence.Basic

 

 

 

 

 

6. javax.persistence.Column

 

 

 

 

 

7. javax.persistence.ColumnResult

 

 

 

 

 

8. javax.persistence.DiscriminatorColumn

 

 

 

 

 

9. javax.persistence.DiscriminatorValue

 

 

 

 

 

10. javax.persistence.Embeddable

 

 

 

 

 

11. javax.persistence.Embedded

 

 

 

 

 

12. javax.persistence.EmbeddedId

 

 

 

 

 

13. javax.persistence.Entity

 

 

 

 

 

14. javax.persistence.EntityListeners

 

 

 

 

 

15. javax.persistence.EntityResult

 

 

 

 

 

16. javax.persistence.Enumerated

 

 

 

 

 

17. javax.persistence.ExcludeDefaultListeners

 

 

 

 

 

18. javax.persistence.ExcludeSuperclassListeners

 

 

 

 

 

19. javax.persistence.FieldResult

 

 

 

 

 

20. javax.persistence.GeneratedValue

 

 

 

 

 

21. javax.persistence.Id

 

 

 

 

 

22. javax.persistence.IdClass

 

 

 

 

 

23. javax.persistence.Inheritance

 

 

 

 

 

24. javax.persistence.JoinColumn

 

 

 

 

 

25. javax.persistence.JoinColumns

 

 

 

 

 

26. javax.persistence.JoinTable

 

 

 

 

 

27. javax.persistence.Lob

 

 

 

 

 

28. javax.persistence.ManyToMany

 

 

 

 

 

29. javax.persistence.ManyToOne

 

 

 

 

 

30. javax.persistence.MapKey

 

 

 

 

 

31. javax.persistence.MappedSuperclass

 

 

 

 

 

32. javax.persistence.NamedNativeQueries

 

 

 

 

 

33. javax.persistence.NamedNativeQuery

 

 

 

 

 

34. javax.persistence.NamedQueries

 

 

 

 

 

35. javax.persistence.NamedQuery

 

 

 

 

 

36. javax.persistence.OneToMany

 

 

 

 

 

37. javax.persistence.OneToOne

 

 

 

 

 

38. javax.persistence.OrderBy

 

 

 

 

 

39. javax.persistence.PersistenceContext

 

 

 

(error)

 

40. javax.persistence.PersistenceContexts

 

 

Same as PersistenceContext

 

 

41. javax.persistence.PersistenceProperty

 

 

 

(error)

 

42. javax.persistence.PersistenceUnit

 

 

 

(error)

 

43. javax.persistence.PersistenceUnits

 

 

Same as PersistenceUnit

 

 

44. javax.persistence.PostLoad

 

 

 

 

 

45. javax.persistence.PostPersist

 

 

 

 

 

46. javax.persistence.PostRemove

 

 

 

 

 

47. javax.persistence.PostUpdate

 

 

 

 

 

48. javax.persistence.PrePersist

 

 

 

 

 

49. javax.persistence.PreRemove

 

 

 

 

 

50. javax.persistence.PreUpdate

 

 

 

 

 

51. javax.persistence.PrimaryKeyJoinColumn

 

 

 

 

 

52. javax.persistence.PrimaryKeyJoinColumns

 

 

 

 

 

53. javax.persistence.QueryHint

 

 

 

 

 

54. javax.persistence.SecondaryTable

 

 

 

 

 

55. javax.persistence.SecondaryTables

 

 

 

 

 

56. javax.persistence.SequenceGenerator

 

 

 

 

 

57. javax.persistence.SqlResultSetMapping

 

 

 

 

 

58. javax.persistence.SqlResultSetMappings

 

 

 

 

 

59. javax.persistence.Table

 

 

 

 

 

60. javax.persistence.TableGenerator

 

 

 

 

 

61. javax.persistence.Temporal

 

 

 

 

 

62. javax.persistence.Transient

 

 

 

 

 

63. javax.persistence.UniqueConstraint

 

 

 

 

 

64. javax.persistence.Version

 

 

 

 

JSR

Annotation

DD Tag(s)

Supported in

Notes

Deployment implementation

Runtime implementation

JSR-222
(JAXB 2.0)

1. javax.xml.bind.annotation.XmlAccessorOrder

 

 

 

 

 

2. javax.xml.bind.annotation.XmlAccessorType

 

 

 

 

 

3. javax.xml.bind.annotation.XmlAnyAttribute

 

 

 

 

 

4. javax.xml.bind.annotation.XmlAnyElement

 

 

 

 

 

5. javax.xml.bind.annotation.XmlAttachmentRef

 

 

 

 

 

6. javax.xml.bind.annotation.XmlAttribute

 

 

 

 

 

7. javax.xml.bind.annotation.XmlElement

 

 

 

 

 

8. javax.xml.bind.annotation.XmlElementDecl

 

 

 

 

 

9. javax.xml.bind.annotation.XmlElementRef

 

 

 

 

 

10. javax.xml.bind.annotation.XmlElementRefs

 

 

 

 

 

11. javax.xml.bind.annotation.XmlElementWrapper

 

 

 

 

 

12. javax.xml.bind.annotation.XmlElements

 

 

 

 

 

13. javax.xml.bind.annotation.XmlEnum

 

 

 

 

 

14. javax.xml.bind.annotation.XmlEnumValue

 

 

 

 

 

15. javax.xml.bind.annotation.XmlID

 

 

 

 

 

16. javax.xml.bind.annotation.XmlIDREF

 

 

 

 

 

17. javax.xml.bind.annotation.XmlInlineBinaryData

 

 

 

 

 

18. javax.xml.bind.annotation.XmlList

 

 

 

 

 

19. javax.xml.bind.annotation.XmlMimeType

 

 

 

 

 

20. javax.xml.bind.annotation.XmlMixed

 

 

 

 

 

21. javax.xml.bind.annotation.XmlNs

 

 

 

 

 

22. javax.xml.bind.annotation.XmlRegistry

 

 

 

 

 

23. javax.xml.bind.annotation.XmlRootElement

 

 

 

 

 

24. javax.xml.bind.annotation.XmlSchema

 

 

 

 

 

25. javax.xml.bind.annotation.XmlSchemaType

 

 

 

 

 

26. javax.xml.bind.annotation.XmlSchemaTypes

 

 

 

 

 

27. javax.xml.bind.annotation.XmlTransient

 

 

 

 

 

28. javax.xml.bind.annotation.XmlType

 

 

 

 

 

29. javax.xml.bind.annotation.XmlValue

 

 

 

 

 

30. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

 

 

 

 

 

31. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters

 

 

 

 

JSR

Annotation

DD Tag(s)

Supported in

Notes

Deployment implementation

Runtime implementation

JSR-224
(JAX-WS 2.0)

1. javax.xml.ws.BindingType

 

 

 

 

 

2. javax.xml.ws.RequestWrapper

 

 

 

 

 

3. javax.xml.ws.ResponseWrapper

 

 

 

 

 

4. javax.xml.ws.ServiceMode

 

 

 

 

 

5. javax.xml.ws.WebEndpoint

 

 

 

 

 

6. javax.xml.ws.WebFault

 

 

 

 

 

7. javax.xml.ws.WebServiceClient

 

 

 

 

 

8. javax.xml.ws.WebServiceProvider

 

 

 

 

 

9. javax.xml.ws.WebServiceRef

service-ref

 

 

(tick)

 

10. javax.xml.ws.WebServiceRefs

 

 

Same as WebServiceRef

 

 

11. javax.xml.ws.addressing.Action

 

 

 

 

 

12. javax.xml.ws.addressing.FaultAction

 

 

 

 

  • No labels