TechnoBuzz

A Techno Blog, mainly about Java

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

JavaDoc

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

example

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.

Advertisements

December 25, 2006 - Posted by | XML

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: