Re: [xsl] Templates.newTransformer synchronization

Subject: Re: [xsl] Templates.newTransformer synchronization
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Mon, 17 Jul 2006 14:13:37 +0100
On 7/17/06, Mohsen Saboorian <mohsens@xxxxxxxxx> wrote:
Hi,
I want to cache an instance of a Transformer (e.g. using
Templates.newTransformer()) in the application scope of a web
application (multi-threaded). Is there any synchronization problem
with this approach (using Saxon)?

Templates are thread-safe, according to this article (which is quite good):


http://www-128.ibm.com/developerworks/xml/library/x-jaxp2/

Current Thread