Castor similar to jaxB
http://www.castor.org/ and get full download where i placed it here
C:/java/castor-1.0.5
C:\java\castor-1.0.5\src>ant jar
put castor jars from C:\java\castor-1.0.5\dist and place in C:/java/castor-1.0.5/lib
C:/java/castor-1.0.5/src/examples/SourceGenerator
test.bat
http://www.castor.org/javadoc/org/exolab/castor/builder/SourceGeneratorMain.html
%JAVA% -cp %CP% org.exolab.castor.builder.SourceGeneratorMain -i invoice.xsd -f -binding-file bindingInvoice.xml
Marshalling – is the process of traversing a content tree and
writing an XML document that reflects the tree’s content.
org.exolab.castor.xml.Marshaller
Unmarshalling - is the process of reading an XML document and constructing a content tree of Java content objects.org.exolab.castor.xml.Unmarshaller
…
It has been a while since I got a chance to look at Struts 2 . At the time I was interested in how to get jars going with JDK 1.4.2.
No comments yet.


