Howdy all,
In my project I am using xjc to generate classes suitable for marshalling/unmarshalling the request/response objects.
Are there any best practices for adapting the JAXB objects with the application domain objects?
My current model uses builders. But this is quite cumbersome.
I've looked at using CommonUtil copyBean, but this only really works if there is a one-to-one mapping between the domain entities and the XSD data model.
How are other people managing this problem?
If the answer is in TFM, please put me to the right place. I'm simply not seeing it.
Thanks,
Curtis


Reply With Quote

