Thursday Aug 17, 2006

The New WebServices Stack in GlassFish V2

Client Pipeline in JAX-WS 2.0.1

The Rearchitected Web Services Stack is in GlassFish V2 M1, released today. The implementation version is 2.0.1 since it implements the same JAX-WS 2.0 specification, but don't let the "dot.dot" fool you; it is a major redesign. Documentation is here and Vivek has a good overview of the changes.

This implementation supports Multiple Transports; HTTP is the default and the implementation comes with a local transport mostly for testing, but Transports are Pluggable and Oleksei showed How to Use JMS and we also are working on a TCPIP one. The new implementation is also used by Project Tango but this is not yet integrated into M1.

Probably the single most noticeable change now should be the performance improvements. The previous JAX-WS 2.0 implementation was most often faster but sometimes slower than JAX-RPC 1.1 (chart, blog), but the new one is much faster (chart, Sameer's blog). The 2.0.1 implementation also comes with goodies like built-in SOAP Monitoring.

You can download JAX-WS 2.0.1 through GF V2 M1 here, and check out the current plans for the release at the New Wiki Page. M1 also has the older JAX-WS 2.0 implementation; Vijay's announcement describes How to Switch it Back On. And, if you want the unbundled JAX-WS 2.0.1 bits, they are here. Enjoy!