XSD/JAXB multi-model Java object practices

kindom

New Member
I have a question on what the best practice is when utilizing XSD/JAXB objects for XML management to multiple application models?The situation is the following:


- I use XSD to design my data model.
- XJC to generate the XSD into Java POJO objects.
- I then need to use those POJO objects in multiple (differing) applications:
- A batch runtime environment that will only READ the XML into the POJO objects.
- A GEF Editor application that needs to create various POJO objects representing the XSD data model. These would be Read/Write POJO objects. These will eventually be used to Marshal/Unmarshal the XML into a file that will be consumed by the batch runtime environment.
- A Web/UI application that will only Read the values for display on a Web presentation tier.

I really want to use Interfaces for all three (runtime, GEF, Web) applications. What I can
 
Back
Top