Skip to main content

Web services native support in Java6

Posted by arungupta on December 14, 2006 at 10:03 AM PST

A new thread
started on TheServerSide prompted by Dims
post on "Why
bundling JAX-WS in Java6 was a bad idea!
". Let me explain why I don't
agree.

 I still remember JavaOne 2005 technical keynote getting applauds from
everybody when bundling Web services in Java6 was announced. An approximate 5000
developer audience thrilled that Web services will be available natively in
Java6.

JAX-WS 2.0 is a JCP standard (JSR
224
) that enables Web services support in a standard way. Here are some of
the salient features:

  • Supports SOAP-based and REST-based services
  • Supports both Java-first and WSDL-first programming model equally
  • Enables POJO-based Web services
  • Descriptor free programming
  • Uses industry proven JAXB RI for data binding
  • Integrated with NetBeans 5.5 hiding all the tools/config details
  • Tested extensively for interoperability

Mainly because of timing constraints, JAX-WS 2.0 (and not 2.1) was included
in Java6. However the currently bundled JAX-WS implementation is very powerful
and allows you to develop/invoke SOAP-based and REST-based services. If you want
to enable different WS-* specifications (such as WS-Security, WS-Reliable
Messaging and WS-Secure Conversation) then you can download WSIT builds and
configure them on Java6 (another blog on that later) and there by WSIT-ifying
your Java6.

Web services and Scripting are the two most talked about features in Java6 as
is evident by a short list of links below (there are many more):

In all, I strongly believe, more as a technology user, that adding basic Web
services support to Java6 is the first step. There is always a balance between
providing an out-of-the-box experience or asking them to download additional
stuff and go through configuration. I believe in simplicity and that's what we
have tried to achieve by adding Web services support in Java6. You'll see more
sophisticated additions in the versions to come.

Technorati: Java6 JDK
JAX-WS Web
Services

Related Topics >>