Title: RE: Transparent caching with JAXP/TrAX

> Why does TransformerFactory.newTemplates() have to compile the input
> stylesheet if there is already a stored class definition for the translet?

Here's my two cents: I'm not sure why it would necessarily "have" to compile the input each time, but the benefit is that you can change the stylesheet on the fly.  We do this all the time when debugging the live application.  For debug builds we call newTemplates() each time.  In production we cache the resultant Templates and use that each time.  I like the separation.

Reply via email to