HomeDocumentation > Creating deployment plans > Creating deployment plans for applications > Annotations
{scrollbar}

Every module that you install in Geronimo, whether it is a service, application, resource, etc., can be configured via a deployment plan. These deployment plans are XML files based on XML Schemas containing the configuration details for a specific application module or component. The Java EE specification defines standard deployment descriptors such as web.xml, application.xml, etc.INLINE

The Java EE 6 specifications also allows the usage of annotations directly in the Java code to mitigate the development burdens associated with creating Java EE 5 applications.

Annotations in the Java EE specifications is a new metadata facility where many java entities such as classes, fields, packages, methods, etc. can be decorated with annotations. These declarations can reduce, and in many cases eliminate entirely, the necessity of using deployment plans. When both annotations and a declarations in a deployment plan are provided the whe declarations in the deployment plna will take precedence. This allows changes to the deployment characterics of Java EE 6 modules without having to change the code.

Geronimo as a Java EE 6 certified application server supports all the annotations in the Java EE 6 specifications. These annotations are listed and described below, along with the corresponding Java EE 6 specification, and the deployment plan XML element(s) they can replace (if applicable):

Here is a list of all Java EE 6 annotations supported by Geronimo:


JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR 250
(Common Annotations)

1. javax.annotation.Generated

 

 

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

 

2. javax.annotation.PostConstruct

<post-construct>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer
Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

3. javax.annotation.PreDestroy

<pre-destroy>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

4. javax.annotation.Resource

1. <env-entry>

(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

4. javax.annotation.Resource

2. <service-ref>

(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

4. javax.annotation.Resource

3. <resource-ref>

(tick) EJB JAR
(tick) RAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

4. javax.annotation.Resource

4. <message-destination-ref>

(tick) EJB JAR
(tick) RAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

4. javax.annotation.Resource

5. <resource-env-ref>

(tick) EJB JAR
(tick) RAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

4. javax.annotation.Resource

6. <webservice-context>

(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

5. javax.annotation.Resources

 

 

Same as javax.annotation.Resource

 

6. javax.annotation.security.DeclareRoles

<security-role>

(tick) EJB JAR
(tick) WAR

 

 

7. javax.annotation.security.DenyAll

<exclude-list>

(tick) EJB JAR
(tick) WAR


 

8. javax.annotation.security.PermitAll

<method-permission>

(tick) EJB JAR
(tick) WAR

 

 

9. javax.annotation.security.RolesAllowed

<role-name>

(tick) EJB JAR
(tick) WAR

 

 

10. javax.annotation.security.RunAs

<run-as>

(tick) EJB JAR
(tick) WAR


 

11. javax.annotation.sql.DataSourceDefinition

<data-source>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR


 

12. javax.annotation.sql.DataSourceDefinitions

 


Same as javax.annotation.sql.DataSourceDefinition

 

13. javax.annotation.ManagedBean

<managed-bean>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR


JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-315
(Servelet 3.0)

1. javax.servlet.annotation.HandlesType

<activation-config-property>

(tick) WAR

 

 

2. javax.servlet.annotation.HttpConstraint

<auth-constraint>

(tick) WAR

 

 

3. javax.servlet.annotation.HttpMethodConstraint

<user-data-constraint>

(tick) WAR

 

 

4. javax.servlet.annotation.multipartConfig

<multipart-config>

(tick) WAR

 

 

5. javax.servlet.annotation.ServletSecurity

<security-constraint>

(tick) WAR

 

 

6. javax.servlet.annotation.WebFilter

<filter>

(tick) WAR

 

 

7. javax.servlet.annotation.WebInitParam

<init-param>

(tick) WAR

 

 

8. javax.servlet.annotation.WebListener

<listener>

(tick) WAR

 

 

9. javax.servlet.annotation.WebServlet

<servlet-mapping>

(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-318
(EJB 3.1)

1. javax.ejb.AccessTimout

<access-timeout>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

2. javax.ejb.ActivationConfigProperty

<activation-config-property>
<activation-config-value>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

3. javax.ejb.AfterBegin

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

4. javax.ejb.ApplicationException

<application-exception>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

5. javax.ejb.Asynchronous

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

6. javax.ejb.BeforeCompletion

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

7. javax.ejb.ConcurrencyManagement

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

8. javax.ejb.DependsOn

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

9. javax.ejb.EJB

1. <ejb-ref>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

9. javax.ejb.EJB

2. <ejb-local-ref>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

10. javax.ejb.EJBs

 

 

Same as javax.ejb.EJB

 

11. javax.ejb.Init

<init-method>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

12. javax.ejb.Local

<local>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

13. javax.ejb.LocalBean

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

14. javax.ejb.LocalHome

<local-home>

(tick) Client JAR
(tick) EJB JAR

 

 

15. javax.ejb.Lock

 

 

 

RAR

 

16. javax.ejb.MessageDriven

<message-driven>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

17. javax.ejb.PostActivate

<post-activate>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

18. javax.ejb.PrePassivate

<pre-passivate>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

19. javax.ejb.Remote

<remote>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

20. javax.ejb.RemoteHome

<remote-home>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

21. javax.ejb.Remove

<remote-method>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

22. javax.ejb.Schedule

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

23. javax.ejb.Schedules

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

24. javax.ejb.Singleton

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

25. javax.ejb.Startup

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR


 

26. javax.ejb.Stateful

<stateful>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

27. javax.ejb.StatefulTimout

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

28. javax.ejb.Stateless

<stateless>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

29. javax.ejb.Timeout

<timeout-method>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

30. javax.ejb.TransactionAttribute

<container-transaction>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

31. javax.ejb.TransactionManagement

<transaction-type>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-318
(EJB 3.1)

1. javax.interceptor.AroundInvoke

<around-invoke>

(tick) EJB JAR
(tick) WAR

 

 

2. javax.interceptor.AroundTimeout

<around-timeout>

(tick) EJB JAR
(tick) WAR

 

 

3. javax.interceptor.ExcludeClassInterceptors

<exclude-class-interceptors>

(tick) EJB JAR
(tick) WAR

 

 

4. javax.interceptor.ExcludeDefaultInterceptors

<exclude-default-interceptors>

(tick) EJB JAR
(tick) WAR

 

 

5. javax.interceptor.Interceptor

<interceptor>

(tick) EJB JAR
(tick) WAR

 

 

5. javax.interceptor.Interceptor

<interceptor-class>

(tick) EJB JAR
(tick) WAR

 

 

6. javax.interceptor.InterceptorBinding

<interceptor-binding>

(tick) EJB JAR
(tick) WAR

 

 

7. javax.interceptor.Interceptors

<interceptors>

(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-317
(JPA 2.0)

1. javax.persistence.Access

 

(tick) EJB JAR
(tick) WAR

 

 

2. javax.persistence.AssociationOverride

 

(tick) EJB JAR
(tick) WAR

 

 

3. javax.persistence.AssociationOverrides

 

 

Same as javax.persistence.AssociationOverride

 

4. javax.persistence.AttributeOverride

 

(tick) EJB JAR
(tick) WAR

 

 

5. javax.persistence.AttributeOverrides

 

 

Same asjavax.persistence.AttributeOverride

 

6. javax.persistence.Basic

 

(tick) EJB JAR
(tick) WAR

 

 

7. javax.persistence.Cacheable

 

(tick) EJB JAR
(tick) WAR

 

 

8. javax.persistence.CollectionTable

 

(tick) EJB JAR
(tick) WAR

 

 

9. javax.persistence.Column

 

(tick) EJB JAR
(tick) WAR

 

 

10. javax.persistence.ColumnResult

 

(tick) EJB JAR
(tick) WAR

 

 

11. javax.persistence.DiscriminatorColumn

 

(tick) EJB JAR
(tick) WAR

 

 

12. javax.persistence.DiscriminatorValue

 

(tick) EJB JAR
(tick) WAR

 

 

13. javax.persistence.ElementCollection

 

(tick) EJB JAR
(tick) WAR

 

 

14. javax.persistence.Embeddable

 

(tick) EJB JAR
(tick) WAR

 

 

15. javax.persistence.Embedded

 

(tick) EJB JAR
(tick) WAR

 

 

16. javax.persistence.EmbeddedId

 

(tick) EJB JAR
(tick) WAR

 

 

17. javax.persistence.Entity

 

(tick) EJB JAR
(tick) WAR

 

 

18. javax.persistence.EntityListeners

 

(tick) EJB JAR
(tick) WAR

 

 

19. javax.persistence.EntityResult

 

(tick) EJB JAR
(tick) WAR

 

 

20. javax.persistence.Enumerated

 

(tick) EJB JAR
(tick) WAR

 

 

21. javax.persistence.ExcludeDefaultListeners

 

(tick) EJB JAR
(tick) WAR

 

 

22. javax.persistence.ExcludeSuperclassListeners

 

(tick) EJB JAR
(tick) WAR

 

 

23. javax.persistence.FieldResult

 

(tick) EJB JAR
(tick) WAR

 

 

24. javax.persistence.GeneratedValue

 

(tick) EJB JAR
(tick) WAR

 

 

25. javax.persistence.Id

 

(tick) EJB JAR
(tick) WAR

 

 

26. javax.persistence.IdClass

 

(tick) EJB JAR
(tick) WAR

 

 

27. javax.persistence.Inheritance

 

(tick) EJB JAR
(tick) WAR

 

 

28. javax.persistence.JoinColumn

 

(tick) EJB JAR
(tick) WAR

 

 

29. javax.persistence.JoinColumns

 

 

Same as javax.persistence.JoinColumn

 

30. javax.persistence.JoinTable

 

(tick) EJB JAR
(tick) WAR

 

 

31. javax.persistence.Lob

 

(tick) EJB JAR
(tick) WAR

 

 

32. javax.persistence.ManyToMany

 

(tick) EJB JAR
(tick) WAR

 

 

33. javax.persistence.ManyToOne

 

(tick) EJB JAR
(tick) WAR

 

 

34. javax.persistence.MapKey

 

(tick) EJB JAR
(tick) WAR

 

 

35. javax.persistence.MapKeyColumn

 

(tick) EJB JAR
(tick) WAR

 

 

36. javax.persistence.MapKeyEnumerated

 

(tick) EJB JAR
(tick) WAR

 

 

37. javax.persistence.MapKeyJoinColumn

 

(tick) EJB JAR
(tick) WAR

 

 

38. javax.persistence.MapKeyJoinColumns

 

(tick) EJB JAR
(tick) WAR

 

 

39. javax.persistence.MapKeyTemporal

 

(tick) EJB JAR
(tick) WAR

 

 

40. javax.persistence.MappedSuperclass

 

(tick) EJB JAR
(tick) WAR

 

 

41. javax.persistence.MapsId

 

(tick) EJB JAR
(tick) WAR

 

 

42. javax.persistence.NamedNativeQueries

 

(tick) EJB JAR
(tick) WAR

 

 

43. javax.persistence.NamedNativeQuery

 

(tick) EJB JAR
(tick) WAR

 

 

44. javax.persistence.NamedQueries

 

(tick) EJB JAR
(tick) WAR

 

 

45. javax.persistence.NamedQuery

 

(tick) EJB JAR
(tick) WAR

 

 

46. javax.persistence.OneToMany

 

(tick) EJB JAR
(tick) WAR

 

 

47. javax.persistence.OneToOne

 

(tick) EJB JAR
(tick) WAR

 

 

48. javax.persistence.OrderBy

 

(tick) EJB JAR
(tick) WAR

 

 

49. javax.persistence.OrderColumn

 

(tick) EJB JAR
(tick) WAR

 

 

50. javax.persistence.PersistenceContext

<persistence-context-ref>

(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

51. javax.persistence.PersistenceContexts

 

 

Same as javax.persistence.PersistenceContext

 

52. javax.persistence.PersistenceProperty

<persistence-property>

(tick) EJB JAR
(tick) WAR

 

 

53. javax.persistence.PersistenceUnit

<persistence-unit-ref>

(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

54. javax.persistence.PersistenceUnits

 

 

Same as javax.persistence.PersistenceUnits

 

55. javax.persistence.PostLoad

 

(tick) EJB JAR
(tick) WAR

 

 

56. javax.persistence.PostPersist

 

(tick) EJB JAR
(tick) WAR

 

 

57. javax.persistence.PostRemove

 

(tick) EJB JAR
(tick) WAR

 

 

58. javax.persistence.PostUpdate

 

(tick) EJB JAR
(tick) WAR

 

 

59. javax.persistence.PrePersist

 

(tick) EJB JAR
(tick) WAR

 

 

60. javax.persistence.PreRemove

 

(tick) EJB JAR
(tick) WAR

 

 

61. javax.persistence.PreUpdate

 

(tick) EJB JAR
(tick) WAR

 

 

62. javax.persistence.PrimaryKeyJoinColumn

 

(tick) EJB JAR
(tick) WAR

 

 

63. javax.persistence.PrimaryKeyJoinColumns

 

 

Same as javax.persistence.PrimaryKeyJoinColumn

 

64. javax.persistence.QueryHint

 

(tick) EJB JAR
(tick) WAR

 

 

65. javax.persistence.SecondaryTable

 

(tick) EJB JAR
(tick) WAR

 

 

66. javax.persistence.SecondaryTables

 

 

Same as javax.persistence.SecondaryTable

 

67. javax.persistence.SequenceGenerator

 

(tick) EJB JAR
(tick) WAR

 

 

68. javax.persistence.SqlResultSetMapping

 

(tick) EJB JAR
(tick) WAR

 

 

69. javax.persistence.SqlResultSetMappings

 

 

Same as javax.persistence.SqlResultSetMapping

 

70. javax.persistence.Table

 

(tick) EJB JAR
(tick) WAR

 

 

71. javax.persistence.TableGenerator

 

(tick) EJB JAR
(tick) WAR

 

 

72. javax.persistence.Temporal

 

(tick) EJB JAR
(tick) WAR

 

 

73. javax.persistence.Transient

 

(tick) EJB JAR
(tick) WAR

 

 

74. javax.persistence.UniqueConstraint

 

(tick) EJB JAR
(tick) WAR

 

 

75. javax.persistence.Version

 

(tick) EJB JAR
(tick) WAR

 

 

76. javax.persistence.metamodel.StaticMetamodel

 

(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)
faces-config.xml

Supported in

Notes

JSR-181
(JSF 2.0)

1. javax.faces.application.ResourceDependencies

 

(tick) EJB JAR
(tick) WAR

 

 

2. javax.faces.application.ResourceDependency

 

(tick) EJB JAR
(tick) WAR

 

 

3. javax.faces.bean.ApplicationScoped

<scope>

(tick) EJB JAR
(tick) WAR

 

 

4. javax.faces.bean.CustomScoped

 

(tick) EJB JAR
(tick) WAR

 

 

5. javax.faces.bean.ManagedBean

<managed-bean>

(tick) EJB JAR
(tick) WAR

 

 

6. javax.faces.bean.ManagedProperty

<managed-property>

(tick) EJB JAR
(tick) WAR

 

 

7. javax.faces.bean.NoneScoped

 

(tick) EJB JAR
(tick) WAR

 

 

8. javax.faces.bean.ReferencedBean

<referenced-bean>

(tick) EJB JAR
(tick) WAR

 

 

9. javax.faces.bean.RequestScoped

<scope>

(tick) EJB JAR
(tick) WAR

 

 

10. javax.faces.bean.SessionScoped

<scope>

(tick) EJB JAR
(tick) WAR

 

 

11. javax.faces.bean.ViewScoped

 

(tick) EJB JAR
(tick) WAR

 

 

12. javax.faces.component.FacesBehavior

 

(tick) EJB JAR
(tick) WAR

 

 

13. javax.faces.component.FacesComponent

<component>

(tick) EJB JAR
(tick) WAR

 

 

15. javax.faces.convert.FacesConverter

<f:converter>

(tick) EJB JAR
(tick) WAR

 

 

16. javax.faces.event.ListenerFor

 

(tick) EJB JAR
(tick) WAR

 

 

17. javax.faces.event.ListenersFor

 

 

Same as javax.faces.event.ListenerFor

 

18. javax.faces.event.NamedEvent

<f:event>

(tick) EJB JAR
(tick) WAR

 

 

19. javax.faces.render.FacesBehaviorRenderer

<client-behavior-renderer>

(tick) EJB JAR
(tick) WAR

 

 

20. javax.faces.render.FacesRenderer

<render>

(tick) EJB JAR
(tick) WAR

 

 

21. javax.faces.validator.FacesValidator

<f:validator>

(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-303
(Bean
Validation 1.0)

1. javax.faces.bean.ApplicationScoped

 

(tick) EJB JAR
(tick) WAR

 

 

1. javax.validation.constraints.Null

 

(tick) EJB JAR
(tick) WAR

 

 

2. javax.validation.constraints.NotNull

 

(tick) EJB JAR
(tick) WAR

 

 

3. javax.validation.constraints.AssertTrue

 

(tick) EJB JAR
(tick) WAR

 

 

4. javax.validation.constraints.AssertFalse

 

(tick) EJB JAR
(tick) WAR

 

 

5. javax.validation.constraints.Min

 

(tick) EJB JAR
(tick) WAR

 

 

6. javax.validation.constraints.Max

 

(tick) EJB JAR
(tick) WAR

 

 

7. javax.validation.constraints.DecimalMin

 

(tick) EJB JAR
(tick) WAR

 

 

8. javax.validation.constraints.DecimalMax

 

(tick) EJB JAR
(tick) WAR

 

 

9. javax.validation.constraints.Size

 

(tick) EJB JAR
(tick) WAR

 

 

10. javax.validation.constraints.Digits

 

(tick) EJB JAR
(tick) WAR

 

 

11. javax.validation.constraints.Past

 

(tick) EJB JAR
(tick) WAR

 

 

12. javax.validation.constraints.Future

 

(tick) EJB JAR
(tick) WAR

 

 

13. javax.validation.constraints.Pattern

 

(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-299
(CDI
specification 1.0)

1. javax.enterprise.inject.Alternative

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

2. javax.enterprise.inject.Any

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

3. javax.enterprise.inject.Default

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

4. javax.enterprise.inject.Disposes

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

5. javax.enterprise.inject.Model

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

6. javax.enterprise.inject.New

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

7. javax.enterprise.inject.Procedures

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

8. javax.enterprise.inject.Specializes

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

9. javax.enterprise.inject.Stereotype

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

10. javax.enterprise.inject.Typed

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-330
(DI
specification 1.0)

1. javax.inject.Inject

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

2. javax.inject.Named

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

3. javax.inject.Qualifier

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

4. javax.inject.Scope

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

5. javax.inject.Singleton

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-318
(Interceptors
specification 1.1)

1. javax.interceptor.AroundInvoke

<around-invoke>

(tick) EJB JAR
(tick) WAR

 

 

2. javax.interceptor.AroundTimeout

 

(tick) EJB JAR
(tick) WAR

 

 

3. javax.interceptor.ExcludeClassInterceptors

<exclude-class-interceptors>

(tick) EJB JAR
(tick) WAR

 

 

4. javax.interceptor.ExcludeDefaultInterceptors

<exclude-default-interceptors>

(tick) EJB JAR
(tick) WAR

 

 

5. javax.interceptor.Interceptor

<interceptor>

(tick) EJB JAR
(tick) WAR

 

 

6. javax.interceptor.InterceptorBinding

 

(tick) EJB JAR
(tick) WAR

 

 

7. javax.interceptor.Interceptors

<interceptors>

(tick) EJB JAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-332
(Java EE Connector
Architecture 1.6)

1. javax.ws.rs.Activation

<activationspec>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

 

2. javax.resource.spi.AdministeredObject

<adminobject>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

 

3. javax.resource.spi.AuthenticationMechanism

<authentication-mechanism>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

 

4. javax.resource.spi.ConfigProperty

<config-property>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

 

5. javax.resource.spi.ConnectionDefinition

<connection-definition>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

 

6. javax.resource.spi.ConnectionDefinitions

 

(tick) EJB JAR
(tick) RAR
(tick) WAR

Same as javax.resource.spi.ConnectionDefinition

 

7. javax.resource.spi.Connector

<connector>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

 

8. javax.resource.spi.SecurityPermission

<security-permission>

(tick) EJB JAR
(tick) RAR
(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-311
(JAX-RS 1.1)

1. javax.ws.rs.ApplicationPath

 

(tick) WAR

 

 

2. javax.ws.rs.Consumes

 

(tick) WAR

 

 

3. javax.ws.rs.CookieParam

 

(tick) WAR

 

 

4. javax.ws.rs.DefautValue

 

(tick) WAR

 

 

5. javax.ws.rs.DELETE

 

(tick) WAR

 

 

6. javax.ws.rs.Encoded

 

(tick) WAR

 

 

7. javax.ws.rs.FormParam

 

(tick) WAR

 

 

8. javax.ws.rs.GET

 

(tick) WAR

 

 

9. javax.ws.rs.HEAD

 

(tick) WAR

 

 

10. javax.ws.rs.HeaderParam

 

(tick) WAR

 

 

11. javax.ws.rs.HttpMethod

 

(tick) WAR

 

 

12. javax.ws.rs.MatrixParam

 

(tick) WAR

 

 

13. javax.ws.rs.OPTIONS

 

(tick) WAR

 

 

14. javax.ws.rs.Path

 

(tick) WAR

 

 

15. javax.ws.rs.PathParam

 

(tick) WAR

 

 

16. javax.ws.rs.POST

 

(tick) WAR

 

 

17. javax.ws.rs.Produces

 

(tick) WAR

 

 

18. javax.ws.rs.PUT

 

(tick) WAR

 

 

19. javax.ws.rs.QueryParam

 

(tick) WAR

 

 

20. javax.ws.rs.core.Context

 

(tick) WAR

 

 

21. javax.ws.rs.Provider

 

(tick) WAR

 

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-181
(Web
Services
Metadata 2.0)

1. javax.jws.HandlerChain

<handler-chain>

(tick) EJB JAR
(tick) WAR
(info) HC

(info) See Web Services Metadata
for the JavaTM Platform, Section 4.6 Annotation HandlerChain

 

2. javax.jws.Oneway

 

(tick) EJB JAR
(tick) WAR

 

 

3. javax.jws.WebMethod

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

4. javax.jws.WebParam

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

5. javax.jws.WebResult

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

6. javax.jws.WebService

<service-ref-type>

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

7. javax.jws.soap.InitParam

 

(tick) EJB JAR
(tick) WAR

 

 

8. javax.jws.soap.SOAPBinding

 

(tick) EJB JAR
(tick) WAR

 

 

9. javax.jws.soap.SOAPMessageHandler

 

(tick) EJB JAR
(tick) WAR

 

 

10. javax.jws.soap.SOAPMessageHandlers

 

 

Same as javax.jws.soap.SOAPMessageHandler

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported in

Notes

JSR-222
(JAXB 2.0)

1. javax.xml.bind.annotation.XmlAccessorOrder

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

2. javax.xml.bind.annotation.XmlAccessorType

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

3. javax.xml.bind.annotation.XmlAnyAttribute

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

4. javax.xml.bind.annotation.XmlAnyElement

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

5. javax.xml.bind.annotation.XmlAttachmentRef

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

6. javax.xml.bind.annotation.XmlAttribute

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

7. javax.xml.bind.annotation.XmlElement

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

8. javax.xml.bind.annotation.XmlElementDecl

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

9. javax.xml.bind.annotation.XmlElementRef

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

10. javax.xml.bind.annotation.XmlElementRefs

 

 

Same as javax.xml.bind.annotation.XmlElementRef

 

11. javax.xml.bind.annotation.XmlElementWrapper

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

12. javax.xml.bind.annotation.XmlElements

 

 

Same as javax.xml.bind.annotation.XmlElement

 

13. javax.xml.bind.annotation.XmlEnum

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

14. javax.xml.bind.annotation.XmlEnumValue

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

15. javax.xml.bind.annotation.XmlID

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

16. javax.xml.bind.annotation.XmlIDREF

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

17. javax.xml.bind.annotation.XmlInlineBinaryData

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

18. javax.xml.bind.annotation.XmlList

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

19. javax.xml.bind.annotation.XmlMimeType

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

20. javax.xml.bind.annotation.XmlMixed

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

21. javax.xml.bind.annotation.XmlNs

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

22. javax.xml.bind.annotation.XmlRegistry

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

23. javax.xml.bind.annotation.XmlRootElement

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

24. javax.xml.bind.annotation.XmlSchema

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

25. javax.xml.bind.annotation.XmlSchemaType

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

26. javax.xml.bind.annotation.XmlSchemaTypes

 

 

Same as javax.xml.bind.annotation.XmlSchemaType

 

27. javax.xml.bind.annotation.XmlTransient

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

28. javax.xml.bind.annotation.XmlType

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

29. javax.xml.bind.annotation.XmlValue

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

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

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

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

 

 

Same as javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter

JSR

Annotation

Deployment
Descriptor
Tag(s)

Supported_in

Notes

JSR-224
(JAX-WS 2.0)

1. javax.xml.ws.BindingType

 

(tick) EJB JAR
(tick) WAR

 

 

2. javax.xml.ws.RequestWrapper

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

3. javax.xml.ws.ResponseWrapper

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

4. javax.xml.ws.ServiceMode

 

(tick) EJB JAR
(tick) WAR

 

 

5. javax.xml.ws.WebEndpoint

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

6. javax.xml.ws.WebFault

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

7. javax.xml.ws.WebServiceClient

 

(tick) Client JAR
(tick) EJB JAR
(tick) WAR

 

 

8. javax.xml.ws.WebServiceProvider

 

(tick) EJB JAR
(tick) WAR

 

 

9. javax.xml.ws.WebServiceRef

<service-ref>

(tick) EJB JAR
(tick) WAR
(info) TLD

(info) See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection

 

10. javax.xml.ws.WebServiceRefs

 

 

Same as javax.xml.ws.WebServiceRef

 

11. javax.xml.ws.addressing.Action

 

(tick) EJB JAR
(tick) WAR

 

 

12. javax.xml.ws.addressing.FaultAction

 

(tick) EJB JAR
(tick) WAR