> From: Niclas Hedhman [mailto:[EMAIL PROTECTED] > > On Monday 26 January 2004 10:39, Leo Sutic wrote: > > public void process () { > > SAXTransformer tf = > > (SAXTransformer) saxTransformerFactory.get (); > > try { > > tf.startDocument (); > > ... > > tf.endDocument (); > > } finally { > > saxTransformerFactory.put (tf); > > } > > } > > Forgive me for being utterly dumb and thick-headed, but I > don't get what you > are looking for. > > What is the difference?
For the SAXTransformer? None at all. It is an example of a *stateful* pooled component. But for other components - those that are *stateless*, the difference is that you don't have to do a lookup/release every time. /LS --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
