On 08/06/2012 07:02, Livia Hauser wrote:

many thx for your comments.
It seems to be its currently not possible to store generated bytecode. Right?
Yes, that's correct: it exists only in memory. (We don't attempt to compile everything in the stylesheet to bytecode, only the parts that we think will benefit from compilation.)

More often than not setup of an transformer needs more time as the transformation (in my scenario).  So I try to deploy a compiled stylesheed into my app-server. It is possible?

The usual approach is to keep an in-memory cache containing the compiled stylesheet object (JAXP Templates, s9api XsltExecutable), so that each stylesheet is compiled only the first time it is used.

Michael Kay