The Source for Java Technology Collaboration
User: Password:



Jitendra Kotamraju

Jitendra Kotamraju's Blog

No SAAJ RI dependency in JAX-WS RI

Posted by jitu on September 20, 2007 at 07:39 PM | Comments (2)

Issue : 54 wants JAX-WS RI to be independent of Sun's StAX impl (sjsxp) and SAAJ impl(SAAJ RI). The dependency on SJSXP is removed long time back. It works well with woodstox StAX parser. The dependency on SAAJ RI is removed in 2.1.3. This would help vendors to package JAX-WS RI with their SAAJ implementations. During this process, I had to pull in SAAJ RI's DataContentHandler implementations, Content-Type MIME header parsing classes to JAX-WS RI.

This is interesting. Intially, SAAJ RI pulled-in MIME processing classes from JavaMail and removed its dependency on JavaMail. Now JAX-WS RI did the same with SAAJ RI and couple of JavaMail classes finally landed into JAX-WS RI !!

If MIME processing is a separate project, it would be helpful to many projects. But JAX-WS RI require code only for parsing MIME messages not so much of creating/editing MIME messages. Even in parsing, it requires only parsing Content-Type header. Similarly, if URI escaping and encoding is a separate utility class in Java SE(unfortunately, it's implementation is hidden in java.net.URI), it would be useful to many projects. Though assembling many small pieces of reusable software is hard, but we require them. Otherwise, they will be duplicated.

Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Man, you really made my day! (We are running everything on IBM WebSphere here, so in order to get JAX-WS running I had to pull in SAAJ and all of SUN JAXP, while already having Xerces et al in the project). Now, with less modules overriding each other I'm going to sleep much better! :-) BTW, are you always closing bugs at 2 o'clock in the night?!

    Posted by: dr_java on September 21, 2007 at 09:25 AM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds