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 Generate Java source file from XML Schema 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 "Generate Java source file from XML Schema" Watch "Generate Java source file from XML Schema" New topic
Author

Generate Java source file from XML Schema

nagul samy
Ranch Hand

Joined: Feb 15, 2012
Posts: 37
Hi Team,

I have an XML and its schema, I need to generate Java source file. Please help me.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
JAXB includes tools that do that: http://docs.oracle.com/javase/tutorial/jaxb/intro/examples.html


Ping & DNS - updated with new look and Ping home screen widget
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Generate Java source file from XML Schema
 
Similar Threads
Is it possible to generate Java classes from XML?
Java API for xml generation
how to generate xml file using xsd schema in java ?
Is there a java API to generate xml with an inline schema definition
without xml schema, generate java classes from xml data file ?