aspose file tools*
The moose likes XML and Related Technologies and the fly likes Schema with JAXB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Schema with JAXB" Watch "Schema with JAXB" New topic
Author

Schema with JAXB

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 129

I have to parse huge number of xml files and i have decided to go with jaxb

but i have no experience with JAXB from the tutorial i found that it uses DTD instead of schema my question is can we use schema with JAXB

if yes please provide some tutorials
if some one has experience with JAXB please provide me with valuable tips it will be great help
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
You can use castor
http://www.castor.org/
The site contains many tutorials.


Rahul Bhattacharjee
LinkedIn - Blog
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

JAXB - Is an API used for converting XML into Java Object and vice versa.

There are many third party available which implements JAXB.

you can use XSTREAM for simple binding.

or

for complex things you can use Castor as suggested by Rahul.


Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
 
jQuery in Action, 2nd edition
 
subject: Schema with JAXB