Generate JAXB Classes from XSD
Published in
1 min readDec 9, 2015
By Using XJC tool which is given by JDK we can generate JAXB Classes from xsd file .This tool by default comes up with JDK installation.
If we want to generate jaxb classes from any xsd, Go to Command prompt and execute fallowing command.
- p denotes target package where jaxb classes has to be generated.
- -d denotes Java source files directory location.