Professional Documents
Culture Documents
2
Radim Marek
27/11/2007
12/14/07
Agenda
Objectives of this presentations
• Introduction
• Installation and administration
• EJB 3.0
• Web Services
• JavaServer Faces
Initial release of 4.2.0 is from May 2007, current bug fix release is 4.2.2
• 4.2.3 on its way
EJB 3.0 implementation is stable and already proven in many production deployments!
JBossWS WIKI
http://jbws.dyndns.org/mediawiki/index.php?title=Articles_and_Specs
Sun Blog
http://blogs.sun.com/trajesh/entry/migrating_from_jax_rpc_to
Automatic derivation of the web context root for the web services has changed
• No longer based on EAR or JAR file name
• Currently derived from class name
If multiple web services are deployed is not able to create single context
• There is no JAX-WS specification how to handle this situation
• Current workaround is to use @WebContext annotation and use single context for
all deployed Web Services within your deployment
@WebContext(contextRoot=“/mywebservices”)
Related to
• Capitalization of names, in newer version is decapitalized (override name with
@XmlType)
• Passing parameters, previously marked as nillable or required by default (specify
maxOccurs=0 or nillable=true or required=true using @XmlType)
• Arrays are special and you can be forced to create special holder class (LongArray
for example)
Make sure you annotate your classes properly (remember: all participating classes)
• To control if serialization will occur on field or properties use annotation
javax.xml.bind.annotation.XmlAccessorType