Java Web Services and XML
Sun and Microsoft again at a Web services interoperability plug-fest.
We just posted a "Meet the Engineer" Q&A with Kohsuke Kawaguchi on java.sun.com.
The SDForum hosted an Interoperability Forum featuring Anne Thomas
Manes, Graham Hamilton, Prateek Mishra, Kim Cameron and others. Here
are my notes on the event. I particularly liked the discussion of the
level at which one should program web service - the language level or
the XML level.
Asynchronous Services are a fact of life, and a key requirement for successful SOA solutions.
JAX-WS has simplified the development of Web Service clients when compared to JAX-RPC.
I posted a new version of com4j, a Java/COM integration library using Tiger features. This version can nicely handle Microsoft Office.
Hanson Char wrote a nice plugin for JAXB RI 2.0 that causes XJC to generate additional methods, which are very useful when you are building object tree in memory.
Sun and Microsoft are working together to ensure web service
interoperability in reliable messaging, security and atomic
transactions. This blog gives you the big picture as well as letting
you know when and where the Sun bits are available and how to use
Do you know the difference between Web Service Orchestration and Web Service Choreography? Orchestration is about music and Choreograhy is about dance... but for some odd reason this doesn't help me grok the distinction.
Mustang has a very good support for Web Services. One can create and publish a Web Service very easily. First write the Web Service endpoint implementation, and then use javax.xml.ws.Endpoint API to create and publish the Web Service.
The EA3 version of JAX-WS, or the JAX-WS released in JWSDP 2.0, supports the publishing and use RESTful Web Services. Here is an example that shows how to publish a RESTful Web Service using JAX-WS.
Someone asked me how to use JAXB in conjunction with XInclude, so here it goes.
The JAXB project started posting its jars (both the RI and the API jars) to a maven repository.
Java API for XML Web Services Addressing (JAX-WSA) 1.0 Early Access is now available.
Read more about the bundled samples and documentation here.
I just posted the JAX-WS 2.0 early access 3 on java.net.
I just posted the early access 3 release of JAXB RI 2.0 on java.net.
In an effort to be more open about the development of JAX-WS, discussions about changes to JAX-WS are now happening on email@example.com.
Bobby Bissett has written a white paper entitled "Building JAX-WS 2.0 Services with NetBeans." This is an excellent white paper for those wishing to get started using JAX-WS.
In an earlier blog, I started a discussion about DOM vs. JAXB performance. For that purpose, I selected 4 different XML schemas, including 3 standard ones: UBL, FPML and GAML; in addition, I picked about 20 XML instances with sizes ranging from 1K to 924K and looked at number of Mbits per second I could process on a modern 2-way Opteron server. The results showed DOM coming just ahead of JAXB, but several people have asked me to break up the roundtrip time into marshalling and unmarshalling times. So I did, and here are the results ...
A jax-ws-architecture-document project has been created on Java.net. This project hosts the architecture document for the JAX-WS RI.