This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Schema with JAXB
 
Similar Threads
java classes for xml schema
Does JAXB use DTD or Schema?
How do i get the dependent target for a specific target
JAXB Customization
JAXB Study Materials