This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: JAXP Transformer contract
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] JAXP Transformer contract
- From: Mike Brown <mike at skew dot org>
- Date: Wed, 9 May 2001 11:45:36 -0600 (MDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Nestel, Frank wrote:
> In our application we cache Templates objects and pool Transformer
> objects just to keep things fast.
Somewhat off-subject...
Saxon comes with a SaxonServlet.java that demonstrates a caching pattern
using a HashTable, and it seems to work well. Can someone email me
off-list with the design pattern for "pooling" objects such as
Transformer? I am assuming this means you have several Transformer
objects available, to make up for the lack of thread safety... if you
need one, it won't give you one unless it is believed to not be in use?
- Mike
_____________________________________________________________________________
mike j. brown, software engineer at | xml/xslt: http://skew.org/xml/
webb.net in denver, colorado, USA | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list