That's great - exactly what I needed to know!!

:-)

-----Original Message-----
From: Gregory Block [mailto:[EMAIL PROTECTED] 
Sent: 04 August 2005 21:04
To: [email protected]
Subject: Re: [castor-user] Castor XML thread safe


On 4 Aug 2005, at 19:31, <[EMAIL PROTECTED]>  
<[EMAIL PROTECTED]> wrote:
> I have a new Marshaller object for each occasion of writing an XML
> file,
> having found through various google and codehaus searches that the
> Marshaller/Unmarshallers are not thread safe.

Don't reuse marshallers and unmarshallers - reuse the mappings.

Am I missing something?

-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------


-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to