Skip to main content

JAX-WS RI/Metro in IBM JDK 6

Posted by jitu on July 31, 2008 at 2:11 PM PDT

Earlier Kohsuke mentioned that even IBM chose the JAXB RI for databinding. But that was two years back and is not about the whole JAX-WS RI/Metro.

Looked at IBM's JDK in recent WebSphere Application Server v7.0 (Open Beta) release. This version is supposed to be based on Java EE 5 and Java SE 6. Since I am a JAX-WS RI/Metro guy, wanted to see what implementation it is using. So just tried wsimport:

$ ./wsimport -version
JAX-WS RI IBM 2.1.1 in JDK 6

There you go, it uses JAX-WS RI. It has pretty much the same web services bits(JAXB, SAAJ etc) as Sun's Java SE 6. But it uses different StAX impl, not SJSXP. Note that Metro bits are tested with woodstox, sjsxp parsers. Now it works with IBM's StAX impl.

As far as JAX-WS implementation goes, it has all the RI extensions like FastInfoset, AsyncProvider etc.

JAX-WS RI/Metro is part of many application servers, JDKs, frameworks etc. We must have done a good job :-)

Comments

<p>[quote=jitu]Earlier Kohsuke mentioned that <a ...

jitu wrote:
Earlier Kohsuke mentioned that even IBM chose the JAXB RI for databinding. But that was two years back and is not about the whole JAX-WS RI/Metro.
Looked at IBM's JDK in recent WebSphere Application Server v7.0 (Open Beta) release. This version is supposed to be based on Java EE 5 and Java SE 6. Since I am a JAX-WS RI/Metro guy, wanted to see what implementation it is using. So just tried wsimport:

$ ./wsimport -version
JAX-WS RI IBM 2.1.1 in JDK 6

There you go, it uses JAX-WS RI. It has pretty much the same web services bits(JAXB, SAAJ etc) as Sun's Java SE 6. But it uses different StAX impl, not SJSXP. Note that Metro bits are tested with woodstox, sjsxp parsers. Now it works with IBM's StAX impl.
As far as JAX-WS implementation goes, it has all the RI extensions like FastInfoset, AsyncProvider etc.
JAX-WS RI/Metro is part of many application servers, JDKs, frameworks etc. We must have done a good job :-)

Yeah, looks like IBM bundled their own Stax impl (xlxp, whatever that means). I am curious as to why they bothered -- it is not significantly faster than Sjsxp (in fact, not really at all), and slower than Woodstox (these from a test suite that runs JAXB RI for various object models). But I guess it had to be written by a team within IBM to qualify for inclusion or something. :-)

Jitu, Yep. You are right about that part.

I am only talking about JDK. It's true that app server uses Axis2 for runtime. But the app server's tool time is from RI, right ?

Jitu, Please do note that the App Server itself uses Axis2 internally and not the RI. look at the jars in the plugins directory if you are not convinced :) -- dims