Quote:
Jaxb2, in regards to Web Service projects, is best used from a Schema First approach. Design your XSD, use the xjc2 ant task to generate the Annotated java code.
nice :)
Quote:
Also, when it comes to the OXM stuff in Spring-WS, I subclassed the AbstractMarshallingPayloadEndpoint to make our endpoints a little simpler. The idea being that we would have many endpoints, each with their own marshaller.
As this is a Java5 project (using jaxb2 annotations and such) the "AbstractJaxb2MarshallingPayloadEndpoint uses generics as well
thanks for this suggestion