--- Den lør 8/8/09 skrev Paul Sandoz <Paul.Sandoz@Sun.COM>:
> To configure validation you will need to use a
> ContextResolver [1] using either JAXBContext or a
> Unmarshaller, that returns an Unmarshaller for the types you
> want to validate with validation enabled.
As a JAXBContext is expensive and needs configuration that should not duplicate Jersey's configuration of JAXB enabled objects, how do a resolver of Unmarshaller reuse the existing JAXBContext instance used by Jersey?
Besides this use case, I can see a lot of benefits of being able to access and manipulate the concrete JAXBContext used by Jersey.
/Morten
Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på LCD TV! Se her
http://dk.yahoo.com/r/pat/lcd