File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Schema with JAXB

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 133

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
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.


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

Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />
I agree. Here's the link:
subject: Schema with JAXB
It's not a secret anymore!