Threadsafety could be an issue, depending on how TransformerFactory is being invoked.
The Javadoc for TranformerFactory says "An implementation of the TransformerFactory class is NOT guaranteed to be thread safe. It is up to the user application to make sure about the use of the TransformerFactory from more than one thread. Alternatively the application can have one instance of the
TransformerFactory per thread. An application can use the same instance of the factory to obtain one or more instances of a Transformer or Templates provided the instance of the factory isn't being used in more than one thread at a time. "
That specific point isn't covered in http://xml.apache.org/xalan-j/usagepatterns.html#multithreading. Perhaps it should be...
______________________________________
Joe Kesselman / IBM Research
- FW: Issues With Xalan on WebLogic with 2 CPUs Bryan Kearney
- Re: FW: Issues With Xalan on WebLogic with 2 CPUs Joseph Kesselman
- RE: FW: Issues With Xalan on WebLogic with 2 CPUs Bryan Kearney
- RE: FW: Issues With Xalan on WebLogic with 2 CPUs Joseph Kesselman
- RE: FW: Issues With Xalan on WebLogic with 2 CPUs Bryan Kearney
- RE: FW: Issues With Xalan on WebLogic with 2 CPUs Joseph Kesselman
