Gateway Software Symposium
March 6 - 8, 2009 - St. Louis, MO
Mark Volkmann
Software Consultant and Partner at OCI
Mark Volkmann is a partner at Object Computing, Inc. (OCI) in
St. Louis where he has provided software consulting since 1996.
As a consultant, Mark has assisted many companies with
Java, XML, Web, jQuery and Node.js application development.
Mark also has created and teaches many courses on topics including:
Java, Swing, XML, XML Schema, Relax NG, XPath, XSLT, XQuery,
DOM, SAX, JAXP, JDOM, JAXB, SOAP, WSDL, Ruby,
HTML5, CSS3, JavaScript, CoffeeScript and jQuery.
He is currently developing a course on Node.js.
Mark is a member of the St. Louis Java User Group steering
committee and a regular presenter for that group. He has written
for XML Journal and the No Fluff Just Stuff (NFJS) magazine.
He has presented the XML DevCon, NFJS and Strange Loop conferences.
Presentations
Writing XML From Java
Love XML or hate it, sometimes Java applications need to output XML. This talk presents two Java libraries for writing XML, XStream and WAX, that make it really simple! In addition, WAX is very memory efficient, making it ideal for writing large XML documents.
See http://ociweb.com/wax and http://xstream.codehaus.org.
The first library covered is XStream, an open source library for serializing Java objects to and from XML. Compared to Castor, another similar library, it is simpler and requires less configuration. The second library covered is Writing API for XML (WAX). WAX is a new approach to writing XML that
- requires less code than most other approaches
- uses less memory than other approaches
- is a small library (around 12K)
- doesn't depend on any Java classes other than standard JDK classes
- writes all XML node types
- provides extensive error checking
- automatically escapes special characters in text and attribute values when error checking is turned on
- allows all error checking to be turned off for performance
- knows how to associate DTDs, XML Schemas and XSLT stylesheets with the XML it outputs
- is well-suited for writing XML request and response messages for REST-based and SOAP-based services
