Get GlassFish V2
Purchase Support Worldwide
« Switch on SAML for... | Main | User Experience... »
Feb 07
6
ClassLoader Magic - JAX-WS/JAXB 2.1 on JDK6 Without Using Endorsed Standards
  Posted by pelegri in GlassFish

Picture with ClassLoader's Magic

Since Java SE 6 includes JAX-WS 2.0 and JAXB 2.0 the straight-forward way to upgrade to the updated maintenance specifications requires using endorsed standards. But Kohsuke has figure out a way to apply some ClassLoader Magic so that this is not necessary. The result is a transparent experience.

ClassLoaders have always been part of the trickiest part of the Java platform; see for example this report from the First JavaOne; I'm looking forward to having a moment to read carefully Kohsuke's description.

Comments:

You know, if Java 6 hadnt shipped with a WS stack this would be unneeded. Its fine for the runtime to bundle an XML parser, even an XSL engine, even though the XSLTC one included raises lots of ant support calls of the kind "Junitreport runs out of memory". however, WS-* is too fast moving/unstable to be built into the runtime. Unless every point release of java6 includes the latest update, the SOAP stack is going to rapidly age to the point where it becomes unusable.

Posted by Steve Loughran on February 07, 2007 at 02:26 AM PST #

You are correct but it is/was a tradeoff between distribution and stability and I still think it was the proper decision at that time. The WS-I BP part of the WS specs is actually quite stable. Hopefully Java SE 7 will come with some modular system to help with things like this - eduard/o

Posted by eduardo pelegri-llopart on February 07, 2007 at 07:06 AM PST #

Post a Comment:

Comments are closed for this entry.

Languages

NEWS AND EVENTS

Join us at CommunityOne
ALT DESCR

Free!

Search

Popular Tags

adoption ajax clustering community fastinfoset frontpage glassfish grizzly hudson interoperability java javaee javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf maven metro mysql netbeans opends opensource opensso performance phobos php portal rails rest roller ruby sailfin scripting sip sun tools updatecenter v2 v3 webserver webservices weekly wsit xml

Companion Blogs

Useful Blog Entries

Friends and Relatives

Subscribe

Enter your Email

Contact Us

Send feedback and leads to theaquarium@sun.com

Downloads

Events


Adoption Stories

Related Links

Recent Entries

Latest Project News

Navigation