run command ant -f build-coxb.xml from the samples/quickstarts/adapter_lsfileae folder and check the result.
build-coxb.xml uses the sample XML Schema in the schema folder. It generates JAXB classes in the src folder in the com.legstar.test.coxb.lsfileae package.
The JAXB classes are identical to the classes generated using Sun's XJC utility apart from additional Java 5 annotations holding COBOL meta-data.
Under the com.legstar.test.coxb.lsfileae.bind package, you will find the Transformers classes. They are generated by reflecting on the JAXB classes.
The Transformers classes provide a high performance alternative to reflecting on the JAXB classes at runtime. They are used by higher level LegStar modules.
run command ant -f build-coxb.xml from the samples/quickstarts/proxy_pojo_jvmquery folder and check the result.
You will notice that there are 2 jaxbRootClass parameters in the generateCOXB target. This is because the input and output structures from the jvmQuery POJO are different.
run command ant -f build-coxb.xml from the samples/quickstarts/proxy_ws_cultureinfo folder and check the result.
You will notice that there are 2 jaxbRootClass parameters in the generateCOXB target. This is because the input and output structures from the cultureinfo Web service are different.