Generate JAXB Classes from XSD

Tatarao voleti
Spring eco system
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.

--

--

Tatarao voleti
Spring eco system

Software Developer @Siemens | Spring Boot, Micro Services, AWS Cloud | Tech blogger