[jdom-interest] JDOM and SOAP?

Brett McLaughlin brett.mclaughlin at lutris.com
Thu Aug 2 08:03:12 PDT 2001

> The Apache SOAP utility comes with Xerces. I'm wondering if anyone has
> SOAP in combination with JDOM?

Actually, a good use of the SOAP protocol would never require an entire
document being loaded in memory. Instead, the raw information is provided to
the SOAP messaging, and provided as a response from the SOAP messaging. The
developer would then be able to handle the information in any form desired.
With that in mind, using SAX for streaming XML is absolutely the way to go,
because it doesn't lock the developer on either end of messages into any
structure, DOM and JDOM included.

Take a look at the next generation of SOAP at Apache, Apache AXIS, and
you'll see that this is exactly what is done. So there, you just take the
SAX stream, dump it into good old SAXBuilder, and you get JDOM. Voila!

Brett McLaughlin
Enhydra Strategist:   http://www.enhydra.org
Lutris Technologies: http://www.lutris.com
O'Reilly Author:       http://www.newInstance.com

More information about the jdom-interest mailing list