[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: What is XML For?


customizing castor
> Castor can actually also generate beans from an XML Schema too. There
> are three types of use of the Marshalling Framework in Castor:
> 
> 1- you have an XML schema (or a DTD) and no object model: castor can
> generate a Java object model from the XML schema as well as a set of
> classes that will hold the XML information needed to validate the data
> read or write.
> 
> 2- you have an existing object model and you want to 
> read/write XML from
> it by customizing Castor: you can configure a mapping file that will
> hold the mapping information between an XML document and your object
> model.
> 
> 3- you have a set of beans: Castor will introspect them to read/write
> XML.
> 
> You can also leverage those 3 approaches to fit your needs.
> More information on Castor is available at www.castor.org and will
> support JAXB in a future release.

It's worth mentioning that Castor also has the ability to store Java objects
in SQL database tables through the use of mapping files. If you're
interested, check out my recent article at
http://www.onjava.com/pub/a/onjava/2002/10/02/jdosql.html.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.