This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes  java class from xml ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark " java class from xml ?" Watch " java class from xml ?" New topic
Author

java class from xml ?

Ankit Pedro
Greenhorn

Joined: Mar 23, 2005
Posts: 12
Is it possible to generate a java class from xml file ?

Is there any specific API's and tutorials ?

Any help would be appreciated.
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
There are a zillion libraries for this - the one that's best depends on your needs. From memory, some terms to Google for are JAXB (Sun's system), or JAX-RPC if you want a full Web services kit. Apache has Commons Digester, a simple but less powerful system, and XMLBeans, a JAXB implementation (I think!)

These are only some of many options - if you tell us what you intend to do with the Java classes / XML files, perhaps we can give more specific recommendations.


-Tim
 
GeeCON Prague 2014
 
subject: java class from xml ?