Subject: Re: [xsl] JAXP Transformer contract From: Johannes Döbler <jd@xxxxxxxxxxxxxx> Date: Sat, 12 May 2001 13:21:40 +0200 |
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
Remarkably well considering how simplistic it is: it just accumulates compiled stylesheets in the "cache" until you clear them all out. None of those fancy LRU discard algorithms designed for poor souls with finite amounts of memory...
Mike Kay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] JAXP Transformer contract, Michael Kay | Thread | RE: [xsl] JAXP Transformer contract, Michael Kay |
Re: [xsl] trying again: automaticly, Janning Vygen | Date | Re: [xsl] trying again: automaticly, Benjamin Franz |
Month |