This content has been marked as final. Show 3 replies
Bmahesh wrote:It starts by very carefully reading the manual.
What will be the Best Possible way to do that in order to generate simillar JAXB code?
And then apply the knowledge you gain from that. There are no quick wins in a migration, you have to do it carefully and by the numbers. It starts by being properly informed.
But how to apply .xjs (binding file) on DTD for JAXB 2.1.10?
Hey I am able to generate the java file using xjc command,
e.g. xjc -b <bindingFile> -dtd <dtdFile>
The java class which is generated does not *"extends MarshallableRootElement implements RootElement"*
Also the method marshal(), unmarshal(), validate(), invalidate() are missing.
Whereas it generates ObjectFactory where it creates object of Java class.
Any ideas regarding this?