The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Jitendra Kotamraju

Jitendra Kotamraju is a staff engineer at Sun Microsystems. He has been working in java webservices, including JAXRPC, JAXWS, SAAJ implementations. He has extensive experience in distributed, and networking technologies.

 

Jitendra Kotamraju's blog

JAX-WS 2.2/Metro 2.0/Java EE6/GlassFish V3 Released

Posted by jitu on December 10, 2009 at 8:14 PM PST

We are pleased to announce the release of JAX-WS 2.2 and JAX-WS 2.2 RI. RI is also included in Metro 2.0. As Metro 2.0 is bundled in GlassFish v3, you don't require any separate installation step. On the servlet containers like Tomcat, you follow the installation instructions in the bundle. This release highlights are:

  • Of course, all 2.2 spec features are implemented. Some of them are:
    • Incorporates WS-Addressing 1.0 - Metadata support. RI support for addressing is explained here
    • Spec allows an application to not bundle wrapper, and exception beans. RI supports this for a while. See Alternative to JAX-WS RI's wsgen
    • Use of @XmlElement with doc/lit wrapper parameters to customize minOccurs etc
    • Use of @XmlType with Exception classes to customize namespace etc
    • Adds web service feature support with @WebServiceRef(primarily for EE containers)
    • Adds web service feature support with Service, Endpoint API classes
    • Specifies HTTP SPI so that container developers can plug-in a JAX-WS runtime. For example, a servlet container with minimal code could add a support for web service applications using JAX-WS runtime in JDK(7)
    • Fixes few raw Class types in the API. Your IDE would catch few errors !
  • Java EE 6 contains JAX-WS 2.2.  Also, JSR 109 1.3 is updated to incorporate JAX-WS 2.2 features
  • Distribution is provided as a zip bundle(no need to do java -jar to unpack the bits)
  • Apart from the above, GlassFish v3 and Metro 2.0 provide various features
  • There are tons of bug fixes. See all fixed issues

If you are going to use JAX-WS RI 2.2 with JDK6, you need to use endorsed mechanism to override JAX-WS & JAXB 2.2 API as JAX-WS 2.1 is part of JDK6(u4 onwards). We are also going to integrate JAX-WS 2.2 in JDK7.

Continue sending your feedback to the forum and to the mailing list.

Related Topics >> Glassfish      Java Enterprise      Java Specification Request      Java Web Services and XML      Web Services and XML      
Comments
Comments are listed in date ascending order (oldest first)
Syndicate content