Is it possible to generate a java class from xml file ?
Is there any specific API's and tutorials ?
Any help would be appreciated.
posted 10 years ago
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.