Hi Folks,

I am in the middle of upgrading from 1.1.1 to 1.3.1.  One of the main items of 
interest was to use a more thread safe approach for unmarshalling XML files.  
Several months ago I read that we should stop creating Unmarshaller directly 
and instead use the factory methods on XMLContext in the newer versions.  I had 
started on implementing http://jira.codehaus.org/browse/CASTOR-2111 for 1.1.1 
to avoid threading issues during Unmarshaller initialization.

I would like to see a recommendation of how XMLContext and its thread safety or 
advice in how to make it thread safe.  The current link to 
http://www.castor.org/how-to-use-XMLContext.html is broken and in the reference 
documentation there both the old and new approaches are both being used.

As stated in the documentation I will ensure that each thread will have its own 
instance of the Unmarshaller.

Thanks

Declan
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to