JAXB – Create JAVA files instead of .class files in ‘xjc’

All,

How to create java files(.java files) instead of .class files while firing xjc command? What is the argument used with xjc to achieve this?

Also,explain why we used -extension and -episode as arguments to xjc?How these arguments are useful?

Thanks in advance

Answer

If you make the following cal, thenl XJC will make .java files instead of .class files:

xjc your_schema.xsd

Leave a Reply

Your email address will not be published. Required fields are marked *