Convert Xsd Files In Java Classes

Posted on the 27 December 2013 by Abhishek Somani @somaniabhi
We can convert xsd files to java file vert easily using xjc tool . Just type the following command in command prompt ( assuming you have the xsd file in same working directory )

xjc test.xsd
After running the command successfully , you will find all the classes generated automatically with correct package structure . XJC is inbuilt for java version 6 and higher . Post Comments and Suggestions !!