On Thu, Feb 17, 2011 at 6:39 PM, Scott Kurz <scottk...@gmail.com> wrote:
> Simon,
>
> The cache allows us to reuse the JAXBContext across repeated service
> invocations.   The fact that you don't hit the cache again after a
> restart shouldn't be surprising, as we'd typically use a different
> Classloader with different Class objects, right?
>
> I haven't fully digested the JAXB issue in the CXF JIRA, so I'll just
> leave it at that.....but thought I could help a bit by mentioning
> that.
>
> Scott
>

Raymond/Scott, thanks for the responses. It's becoming a little
clearer. So the cache is then targeted at improving performance across
multiple calls through an interface and has no use across node
restarts (because we rebuild the classes). In that case I would
suggest clearing the cache at node stop however this probably would
make matters worse in the multiple nodes in the same VM scenario
because the cache is ultimately accessed via a static
JAXBContextCache.

Regards

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to