Monday, 24 May 2010

PWS HW1 - JAXB XML Parser

The main advantage of this parser is that it's designed for Java. In fact, JAXB stands for Java Architectur for XML Binding. So, it can read the XML Schema file and convert it to Java and vice versa (marshall and unmarshall operations).

Althout I have followed the structure of DOM parser and SAX Parser, one of the thing that you can improve is use just one file for all four parser.

Here you can find more information:

http://java.sun.com/developer/technicalArticles/WebServices/jaxb/

And here is the structure that I designed:

http://switchyourcodinglife.blogspot.com/2010/05/pws-hw1-jaxb-parser-structure.html

No comments:

Post a Comment