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 context.
Dan 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 > (http://issues.apache.org/jira/browse/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 [email protected] http://www.dankulp.com/blog
