I need to make the above equation!
I have an XML file with its XSD schema, and I need to get Java classes with the required code to parse the XML file and create Java objects.
I ask here about the standard (or defacto as apache) utility to make the above request.
Can JAXB do this?
Thanks.
It looks like you want JAX-B , the Java Java Object Binding API.
You need a library to compile xsd to Java types. JAXB and XMLBeans are two such libraries.
With XMLBeans, you can run a simple command to generate Java types:
scomp -out types.jar myschema.xsd