HomeDocumentation > Creating deployment plans > Creating deployment plans for applications > Annotations

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. 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> Client JAR
EJB JAR
WAR
TLD
See JavaServer
Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  3. javax.annotation.PreDestroy <pre-destroy> Client JAR
EJB JAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  4. javax.annotation.Resource 1. <env-entry> EJB JAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  4. javax.annotation.Resource 2. <service-ref> EJB JAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  4. javax.annotation.Resource 3. <resource-ref> EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  4. javax.annotation.Resource 4. <message-destination-ref> EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  4. javax.annotation.Resource 5. <resource-env-ref> EJB JAR
RAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  4. javax.annotation.Resource 6. <webservice-context> EJB JAR
WAR
TLD
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> EJB JAR
WAR
 
  7. javax.annotation.security.DenyAll <exclude-list> EJB JAR
WAR

  8. javax.annotation.security.PermitAll <method-permission> EJB JAR
WAR
 
  9. javax.annotation.security.RolesAllowed <role-name> EJB JAR
WAR
 
  10. javax.annotation.security.RunAs <run-as> EJB JAR
WAR

  11. javax.annotation.sql.DataSourceDefinition <data-source> Client JAR
EJB JAR
WAR

  12. javax.annotation.sql.DataSourceDefinitions  
Same as javax.annotation.sql.DataSourceDefinition
  13. javax.annotation.ManagedBean <managed-bean> Client JAR
EJB JAR
WAR

JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-315
(Servelet 3.0)
1. javax.servlet.annotation.HandlesType <activation-config-property> WAR  
  2. javax.servlet.annotation.HttpConstraint <auth-constraint> WAR  
  3. javax.servlet.annotation.HttpMethodConstraint <user-data-constraint> WAR  
  4. javax.servlet.annotation.multipartConfig <multipart-config> WAR  
  5. javax.servlet.annotation.ServletSecurity <security-constraint> WAR  
  6. javax.servlet.annotation.WebFilter <filter> WAR  
  7. javax.servlet.annotation.WebInitParam <init-param> WAR  
  8. javax.servlet.annotation.WebListener <listener> WAR  
  9. javax.servlet.annotation.WebServlet <servlet-mapping> WAR  
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-318
(EJB 3.1)
1. javax.ejb.AccessTimout <access-timeout> Client JAR
EJB JAR
WAR
 
  2. javax.ejb.ActivationConfigProperty <activation-config-property>
<activation-config-value>
Client JAR
EJB JAR
WAR
 
  3. javax.ejb.AfterBegin
  Client JAR
EJB JAR
WAR
 
  4. javax.ejb.ApplicationException <application-exception> Client JAR
EJB JAR
WAR
 
  5. javax.ejb.Asynchronous
  Client JAR
EJB JAR
WAR
 
  6. javax.ejb.BeforeCompletion
  Client JAR
EJB JAR
WAR
 
  7. javax.ejb.ConcurrencyManagement
  Client JAR
EJB JAR
WAR
 
  8. javax.ejb.DependsOn
  Client JAR
EJB JAR
WAR
 
  9. javax.ejb.EJB 1. <ejb-ref> Client JAR
EJB JAR
WAR
TLD
See JavaServer Pages™ Specification Version 2.2, Section JSP.7.1.11 Resource Injection
  9. javax.ejb.EJB 2. <ejb-local-ref> Client JAR
EJB JAR
WAR
TLD
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> Client JAR
EJB JAR
WAR
 
  12. javax.ejb.Local <local> Client JAR
EJB JAR
WAR
 
  13. javax.ejb.LocalBean
  Client JAR
EJB JAR
WAR
 
  14. javax.ejb.LocalHome <local-home> Client JAR
EJB JAR
 
  15. javax.ejb.Lock
   RAR
  16. javax.ejb.MessageDriven <message-driven> Client JAR
EJB JAR
WAR
 
  17. javax.ejb.PostActivate <post-activate> Client JAR
EJB JAR
WAR
 
  18. javax.ejb.PrePassivate <pre-passivate> Client JAR
EJB JAR
WAR
 
  19. javax.ejb.Remote <remote> Client JAR
EJB JAR
WAR
 
  20. javax.ejb.RemoteHome <remote-home> Client JAR
EJB JAR
WAR
 
  21. javax.ejb.Remove <remote-method> Client JAR
EJB JAR
WAR
 
  22. javax.ejb.Schedule
  Client JAR
EJB JAR
WAR
 
  23. javax.ejb.Schedules
  Client JAR
EJB JAR
WAR
 
  24. javax.ejb.Singleton
  Client JAR
EJB JAR
WAR
 
  25. javax.ejb.Startup
  Client JAR
EJB JAR
WAR

  26. javax.ejb.Stateful <stateful> Client JAR
EJB JAR
WAR
 
  27. javax.ejb.StatefulTimout
  Client JAR
EJB JAR
WAR
 
  28. javax.ejb.Stateless <stateless> Client JAR
EJB JAR
WAR
 
  29. javax.ejb.Timeout <timeout-method> Client JAR
EJB JAR
WAR
 
  30. javax.ejb.TransactionAttribute <container-transaction> Client JAR
EJB JAR
WAR
 
  31. javax.ejb.TransactionManagement <transaction-type> Client JAR
EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-318
(EJB 3.1)
1. javax.interceptor.AroundInvoke <around-invoke> EJB JAR
WAR
 
  2. javax.interceptor.AroundTimeout <around-timeout>
EJB JAR
WAR
 
  3. javax.interceptor.ExcludeClassInterceptors <exclude-class-interceptors> EJB JAR
WAR
 
  4. javax.interceptor.ExcludeDefaultInterceptors <exclude-default-interceptors> EJB JAR
WAR
 
  5. javax.interceptor.Interceptor
<interceptor> EJB JAR
WAR
 
  5. javax.interceptor.Interceptor
<interceptor-class> EJB JAR
WAR
 
  6. javax.interceptor.InterceptorBinding
<interceptor-binding> EJB JAR
WAR
 
  7. javax.interceptor.Interceptors <interceptors> EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-317
(JPA 2.0)
1. javax.persistence.Access   EJB JAR
WAR
 
  2. javax.persistence.AssociationOverride   EJB JAR
WAR
 
  3. javax.persistence.AssociationOverrides    Same as javax.persistence.AssociationOverride
  4. javax.persistence.AttributeOverride   EJB JAR
WAR
 
  5. javax.persistence.AttributeOverrides    Same asjavax.persistence.AttributeOverride
  6. javax.persistence.Basic   EJB JAR
WAR
 
  7. javax.persistence.Cacheable   EJB JAR
WAR
 
  8. javax.persistence.CollectionTable   EJB JAR
WAR
 
  9. javax.persistence.Column   EJB JAR
WAR
 
  10. javax.persistence.ColumnResult   EJB JAR
WAR
 
  11. javax.persistence.DiscriminatorColumn   EJB JAR
WAR
 
  12. javax.persistence.DiscriminatorValue   EJB JAR
WAR
 
  13. javax.persistence.ElementCollection   EJB JAR
WAR
 
  14. javax.persistence.Embeddable   EJB JAR
WAR
 
  15. javax.persistence.Embedded   EJB JAR
WAR
 
  16. javax.persistence.EmbeddedId   EJB JAR
WAR
 
  17. javax.persistence.Entity   EJB JAR
WAR
 
  18. javax.persistence.EntityListeners   EJB JAR
WAR
 
  19. javax.persistence.EntityResult   EJB JAR
WAR
 
  20. javax.persistence.Enumerated   EJB JAR
WAR
 
  21. javax.persistence.ExcludeDefaultListeners   EJB JAR
WAR
 
  22. javax.persistence.ExcludeSuperclassListeners   EJB JAR
WAR
 
  23. javax.persistence.FieldResult   EJB JAR
WAR
 
  24. javax.persistence.GeneratedValue   EJB JAR
WAR
 
  25. javax.persistence.Id   EJB JAR
WAR
 
  26. javax.persistence.IdClass   EJB JAR
WAR
 
  27. javax.persistence.Inheritance   EJB JAR
WAR
 
  28. javax.persistence.JoinColumn   EJB JAR
WAR
 
  29. javax.persistence.JoinColumns    Same as javax.persistence.JoinColumn
  30. javax.persistence.JoinTable   EJB JAR
WAR
 
  31. javax.persistence.Lob   EJB JAR
WAR
 
  32. javax.persistence.ManyToMany   EJB JAR
WAR
 
  33. javax.persistence.ManyToOne   EJB JAR
WAR
 
  34. javax.persistence.MapKey   EJB JAR
WAR
 
  35. javax.persistence.MapKeyColumn   EJB JAR
WAR
 
  36. javax.persistence.MapKeyEnumerated   EJB JAR
WAR
 
  37. javax.persistence.MapKeyJoinColumn   EJB JAR
WAR
 
  38. javax.persistence.MapKeyJoinColumns   EJB JAR
WAR
 
  39. javax.persistence.MapKeyTemporal   EJB JAR
WAR
 
  40. javax.persistence.MappedSuperclass   EJB JAR
WAR
 
  41. javax.persistence.MapsId   EJB JAR
WAR
 
  42. javax.persistence.NamedNativeQueries   EJB JAR
WAR
 
  43. javax.persistence.NamedNativeQuery   EJB JAR
WAR
 
  44. javax.persistence.NamedQueries   EJB JAR
WAR
 
  45. javax.persistence.NamedQuery   EJB JAR
WAR
 
  46. javax.persistence.OneToMany   EJB JAR
WAR
 
  47. javax.persistence.OneToOne   EJB JAR
WAR
 
  48. javax.persistence.OrderBy   EJB JAR
WAR
 
  49. javax.persistence.OrderColumn   EJB JAR
WAR
 
  50. javax.persistence.PersistenceContext <persistence-context-ref> EJB JAR
WAR
TLD
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> EJB JAR
WAR
 
  53. javax.persistence.PersistenceUnit <persistence-unit-ref> EJB JAR
WAR
TLD
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   EJB JAR
WAR
 
  56. javax.persistence.PostPersist   EJB JAR
WAR
 
  57. javax.persistence.PostRemove   EJB JAR
WAR
 
  58. javax.persistence.PostUpdate   EJB JAR
WAR
 
  59. javax.persistence.PrePersist   EJB JAR
WAR
 
  60. javax.persistence.PreRemove   EJB JAR
WAR
 
  61. javax.persistence.PreUpdate   EJB JAR
WAR
 
  62. javax.persistence.PrimaryKeyJoinColumn   EJB JAR
WAR
 
  63. javax.persistence.PrimaryKeyJoinColumns    Same as javax.persistence.PrimaryKeyJoinColumn
  64. javax.persistence.QueryHint   EJB JAR
WAR
 
  65. javax.persistence.SecondaryTable   EJB JAR
WAR
 
  66. javax.persistence.SecondaryTables    Same as javax.persistence.SecondaryTable
  67. javax.persistence.SequenceGenerator   EJB JAR
WAR
 
  68. javax.persistence.SqlResultSetMapping   EJB JAR
WAR
 
  69. javax.persistence.SqlResultSetMappings    Same as javax.persistence.SqlResultSetMapping
  70. javax.persistence.Table   EJB JAR
WAR
 
  71. javax.persistence.TableGenerator   EJB JAR
WAR
 
  72. javax.persistence.Temporal   EJB JAR
WAR
 
  73. javax.persistence.Transient   EJB JAR
WAR
 
  74. javax.persistence.UniqueConstraint   EJB JAR
WAR
 
  75. javax.persistence.Version   EJB JAR
WAR
 
  76. javax.persistence.metamodel.StaticMetamodel   EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
faces-config.xml
Supported in Notes
JSR-181
(JSF 2.0)
1. javax.faces.application.ResourceDependencies   EJB JAR
WAR
 
  2. javax.faces.application.ResourceDependency   EJB JAR
WAR
 
  3. javax.faces.bean.ApplicationScoped <scope> EJB JAR
WAR
 
  4. javax.faces.bean.CustomScoped   EJB JAR
WAR
 
  5. javax.faces.bean.ManagedBean <managed-bean> EJB JAR
WAR
 
  6. javax.faces.bean.ManagedProperty <managed-property> EJB JAR
WAR
 
  7. javax.faces.bean.NoneScoped   EJB JAR
WAR
 
  8. javax.faces.bean.ReferencedBean <referenced-bean> EJB JAR
WAR
 
  9. javax.faces.bean.RequestScoped <scope> EJB JAR
WAR
 
  10. javax.faces.bean.SessionScoped <scope> EJB JAR
WAR
 
  11. javax.faces.bean.ViewScoped   EJB JAR
WAR
 
  12. javax.faces.component.FacesBehavior   EJB JAR
WAR
 
  13. javax.faces.component.FacesComponent <component> EJB JAR
WAR
 
  15. javax.faces.convert.FacesConverter <f:converter> EJB JAR
WAR
 
  16. javax.faces.event.ListenerFor   EJB JAR
WAR
 
  17. javax.faces.event.ListenersFor    Same as javax.faces.event.ListenerFor
  18. javax.faces.event.NamedEvent <f:event> EJB JAR
WAR
 
  19. javax.faces.render.FacesBehaviorRenderer <client-behavior-renderer> EJB JAR
WAR
 
  20. javax.faces.render.FacesRenderer <render> EJB JAR
WAR
 
  21. javax.faces.validator.FacesValidator <f:validator> EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-303
(Bean
Validation 1.0)
1. javax.faces.bean.ApplicationScoped   EJB JAR
WAR
 
  1. javax.validation.constraints.Null   EJB JAR
WAR
 
  2. javax.validation.constraints.NotNull   EJB JAR
WAR
 
  3. javax.validation.constraints.AssertTrue   EJB JAR
WAR
 
  4. javax.validation.constraints.AssertFalse   EJB JAR
WAR
 
  5. javax.validation.constraints.Min   EJB JAR
WAR
 
  6. javax.validation.constraints.Max   EJB JAR
WAR
 
  7. javax.validation.constraints.DecimalMin   EJB JAR
WAR
 
  8. javax.validation.constraints.DecimalMax   EJB JAR
WAR
 
  9. javax.validation.constraints.Size   EJB JAR
WAR
 
  10. javax.validation.constraints.Digits   EJB JAR
WAR
 
  11. javax.validation.constraints.Past   EJB JAR
WAR
 
  12. javax.validation.constraints.Future   EJB JAR
WAR
 
  13. javax.validation.constraints.Pattern   EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-299
(CDI
specification 1.0)
1. javax.enterprise.inject.Alternative   Client JAR
EJB JAR
WAR
 
  2. javax.enterprise.inject.Any   Client JAR
EJB JAR
WAR
 
  3. javax.enterprise.inject.Default   Client JAR
EJB JAR
WAR
 
  4. javax.enterprise.inject.Disposes   Client JAR
EJB JAR
WAR
 
  5. javax.enterprise.inject.Model  Client JAR
EJB JAR
WAR
 
  6. javax.enterprise.inject.New   Client JAR
EJB JAR
WAR
 
  7. javax.enterprise.inject.Procedures   Client JAR
EJB JAR
WAR
 
  8. javax.enterprise.inject.Specializes   Client JAR
EJB JAR
WAR
 
  9. javax.enterprise.inject.Stereotype   Client JAR
EJB JAR
WAR
 
  10. javax.enterprise.inject.Typed   Client JAR
EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-330
(DI
specification 1.0)
1. javax.inject.Inject   Client JAR
EJB JAR
WAR
 
  2. javax.inject.Named   Client JAR
EJB JAR
WAR
 
  3. javax.inject.Qualifier   Client JAR
EJB JAR
WAR
 
  4. javax.inject.Scope   Client JAR
EJB JAR
WAR
 
  5. javax.inject.Singleton   Client JAR
EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-318
(Interceptors
specification 1.1)
1. javax.interceptor.AroundInvoke <around-invoke> EJB JAR
WAR
 
  2. javax.interceptor.AroundTimeout   EJB JAR
WAR
 
  3. javax.interceptor.ExcludeClassInterceptors <exclude-class-interceptors> EJB JAR
WAR
 
  4. javax.interceptor.ExcludeDefaultInterceptors <exclude-default-interceptors> EJB JAR
WAR
 
  5. javax.interceptor.Interceptor <interceptor> EJB JAR
WAR
 
  6. javax.interceptor.InterceptorBinding   EJB JAR
WAR
 
  7. javax.interceptor.Interceptors <interceptors> EJB JAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-332
(Java EE Connector
Architecture 1.6)
1. javax.ws.rs.Activation <activationspec> EJB JAR
RAR
WAR
 
  2. javax.resource.spi.AdministeredObject <adminobject> EJB JAR
RAR
WAR
 
  3. javax.resource.spi.AuthenticationMechanism <authentication-mechanism> EJB JAR
RAR
WAR
 
  4. javax.resource.spi.ConfigProperty <config-property> EJB JAR
RAR
WAR
 
  5. javax.resource.spi.ConnectionDefinition <connection-definition> EJB JAR
RAR
WAR
 
  6. javax.resource.spi.ConnectionDefinitions   EJB JAR
RAR
WAR
Same as javax.resource.spi.ConnectionDefinition
  7. javax.resource.spi.Connector <connector> EJB JAR
RAR
WAR
 
  8. javax.resource.spi.SecurityPermission <security-permission> EJB JAR
RAR
WAR
 
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-311
(JAX-RS 1.1)
1. javax.ws.rs.ApplicationPath   WAR  
  2. javax.ws.rs.Consumes   WAR  
  3. javax.ws.rs.CookieParam   WAR  
  4. javax.ws.rs.DefautValue   WAR  
  5. javax.ws.rs.DELETE   WAR  
  6. javax.ws.rs.Encoded   WAR  
  7. javax.ws.rs.FormParam   WAR  
  8. javax.ws.rs.GET   WAR  
  9. javax.ws.rs.HEAD   WAR  
  10. javax.ws.rs.HeaderParam   WAR  
  11. javax.ws.rs.HttpMethod   WAR  
  12. javax.ws.rs.MatrixParam   WAR  
  13. javax.ws.rs.OPTIONS   WAR  
  14. javax.ws.rs.Path   WAR  
  15. javax.ws.rs.PathParam   WAR  
  16. javax.ws.rs.POST   WAR  
  17. javax.ws.rs.Produces   WAR  
  18. javax.ws.rs.PUT   WAR  
  19. javax.ws.rs.QueryParam   WAR  
  20. javax.ws.rs.core.Context   WAR  
  21. javax.ws.rs.Provider   WAR  
JSR Annotation Deployment
Descriptor
Tag(s)
Supported in Notes
JSR-181
(Web
Services
Metadata 2.0)
1. javax.jws.HandlerChain <handler-chain> EJB JAR
WAR
HC
See Web Services Metadata
for the JavaTM Platform, Section 4.6 Annotation HandlerChain
  2. javax.jws.Oneway   EJB JAR
WAR
 
  3. javax.jws.WebMethod   Client JAR
EJB JAR
WAR
 
  4. javax.jws.WebParam   Client JAR
EJB JAR
WAR
 
  5. javax.jws.WebResult   Client JAR
EJB JAR
WAR
 
  6. javax.jws.WebService <service-ref-type> Client JAR
EJB JAR
WAR
 
  7. javax.jws.soap.InitParam   EJB JAR
WAR
 
  8. javax.jws.soap.SOAPBinding   EJB JAR
WAR
 
  9. javax.jws.soap.SOAPMessageHandler   EJB JAR
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   Client JAR
EJB JAR
WAR
 
  2. javax.xml.bind.annotation.XmlAccessorType   Client JAR
EJB JAR
WAR
 
  3. javax.xml.bind.annotation.XmlAnyAttribute   Client JAR
EJB JAR
WAR
 
  4. javax.xml.bind.annotation.XmlAnyElement   Client JAR
EJB JAR
WAR
 
  5. javax.xml.bind.annotation.XmlAttachmentRef   Client JAR
EJB JAR
WAR
 
  6. javax.xml.bind.annotation.XmlAttribute   Client JAR
EJB JAR
WAR
 
  7. javax.xml.bind.annotation.XmlElement   Client JAR
EJB JAR
WAR
 
  8. javax.xml.bind.annotation.XmlElementDecl   Client JAR
EJB JAR
WAR
 
  9. javax.xml.bind.annotation.XmlElementRef   Client JAR
EJB JAR
WAR
 
  10. javax.xml.bind.annotation.XmlElementRefs    Same as javax.xml.bind.annotation.XmlElementRef
  11. javax.xml.bind.annotation.XmlElementWrapper   Client JAR
EJB JAR
WAR
 
  12. javax.xml.bind.annotation.XmlElements    Same as javax.xml.bind.annotation.XmlElement
  13. javax.xml.bind.annotation.XmlEnum   Client JAR
EJB JAR
WAR
 
  14. javax.xml.bind.annotation.XmlEnumValue   Client JAR
EJB JAR
WAR
 
  15. javax.xml.bind.annotation.XmlID   Client JAR
EJB JAR
WAR
 
  16. javax.xml.bind.annotation.XmlIDREF   Client JAR
EJB JAR
WAR
 
  17. javax.xml.bind.annotation.XmlInlineBinaryData   Client JAR
EJB JAR
WAR
 
  18. javax.xml.bind.annotation.XmlList   Client JAR
EJB JAR
WAR
 
  19. javax.xml.bind.annotation.XmlMimeType   Client JAR
EJB JAR
WAR
 
  20. javax.xml.bind.annotation.XmlMixed   Client JAR
EJB JAR
WAR
 
  21. javax.xml.bind.annotation.XmlNs   Client JAR
EJB JAR
WAR
 
  22. javax.xml.bind.annotation.XmlRegistry   Client JAR
EJB JAR
WAR
 
  23. javax.xml.bind.annotation.XmlRootElement   Client JAR
EJB JAR
WAR
 
  24. javax.xml.bind.annotation.XmlSchema   Client JAR
EJB JAR
WAR
 
  25. javax.xml.bind.annotation.XmlSchemaType   Client JAR
EJB JAR
WAR
 
  26. javax.xml.bind.annotation.XmlSchemaTypes    Same as javax.xml.bind.annotation.XmlSchemaType
  27. javax.xml.bind.annotation.XmlTransient   Client JAR
EJB JAR
WAR
 
  28. javax.xml.bind.annotation.XmlType   Client JAR
EJB JAR
WAR
 
  29. javax.xml.bind.annotation.XmlValue   Client JAR
EJB JAR
WAR
 
  30. javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter   Client JAR
EJB JAR
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   EJB JAR
WAR
 
  2. javax.xml.ws.RequestWrapper   Client JAR
EJB JAR
WAR
 
  3. javax.xml.ws.ResponseWrapper   Client JAR
EJB JAR
WAR
 
  4. javax.xml.ws.ServiceMode   EJB JAR
WAR
 
  5. javax.xml.ws.WebEndpoint   Client JAR
EJB JAR
WAR
 
  6. javax.xml.ws.WebFault   Client JAR
EJB JAR
WAR
 
  7. javax.xml.ws.WebServiceClient   Client JAR
EJB JAR
WAR
 
  8. javax.xml.ws.WebServiceProvider   EJB JAR
WAR
 
  9. javax.xml.ws.WebServiceRef <service-ref> EJB JAR
WAR
TLD
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   EJB JAR
WAR
 
  12. javax.xml.ws.addressing.FaultAction   EJB JAR
WAR