Gateway Software Symposium
March 6 - 8, 2009 - St. Louis, MO
Mark Volkmann
Software Consultant and Partner at OCI
Mark Volkmann has been a software consultant for Object Computing, Inc. (OCI) in St. Louis since 1996. He has been developing software in Java since 1995.
Mark has created and teaches many courses in Java, XML and Ruby. They include: Introduction to Java, Java Syntax for Non-C Programmers, Java Programming, Advanced Java Programming, Creating Graphical User Interfaces Using Java (Swing), eXtensible Markup Language (XML), XML Programming Using Java and Web Services Using Java, and Ruby Programming.
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. Mark has also presented at XML DevCon conferences, No Fluff Just Stuff Java symposiums
and the St. Louis Ruby User Group.
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


