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 Compiling schema in 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 "Compiling schema in jaxb" Watch "Compiling schema in jaxb" New topic

Compiling schema in jaxb

Veshnu Ramakrishnan
Ranch Hand

Joined: Sep 27, 2005
Posts: 44
How to compile schema and produce java package. which tool has to be used for this.

Veshnu<br />SCBCD<br />SCWCD<br />SCJP
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
I am moving this post to our XML forum. Folks there might help you more..
[ January 24, 2006: Message edited by: Balaji Loganathan ]

Spritle Software Blogs
Reid M. Pinchback
Ranch Hand

Joined: Jan 25, 2002
Posts: 775
Download the JWSDP from Sun. You'll find a tool called "xjc". There is an Ant task, which I know works, and I think also a command-line version which I haven't used. The JAXB documentation tells you everything you need to know about using xjc.

Reid - SCJP2 (April 2002)
I agree. Here's the link:
subject: Compiling schema in jaxb
It's not a secret anymore!