cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: CXF JAX-WS implementation creates a new JAXBContext for each webservice published
Date Thu, 03 Dec 2009 20:21:48 GMT

CXF maintains a cache of JAXBContexts based on the set of classes used by the 
each service.   If two services use the EXACT same set of classes, then they 
will share the same context.    If they differ, we have to create a new 


On Mon November 23 2009 2:57:40 am Basavaraja U T wrote:
> Hi All,
> With CXF 2.2.2 and 2.3.0, I observed that CXF JAX-WS implementation creates
> a new JAXBContext instance for each webservice published.
> Similar issue was raised with CXF JAX-RS implementation, bug #CXF-1406
> ( and it has been
> mentioned that the issue has been resolved in CXF version 2.1.2.
> I wanted to know the details if the fix is done for JAX-WS implementation
> also.

Daniel Kulp

View raw message