File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java class from xml ?