This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Best usage of saxon


> I started using full saxon just some time ago and have encountered 
> some problems. I want to use it on a Win NT-Machine.
> Now, I am not very good at this, but I already figured out how to 
> create objects (JAVA) and execute stylesheets. But it always 
> takes quite some time for the JVM to start. Since the server is 
> going to be under heavy load, it matters a lot. Is there any way to 
> increase the speed? I read in previous posts some stuff about the 
> possibility to keep the JVM loaded or so. But how do I accomplish 
> this? Does anyone of you have a good URL where I can find an 
> ASP or other scripts that are suitable?

Simplest approach is to use Java servlets. There's an example of how to
invoke Saxon from a servlet in the Saxon distribution. Using servlets will
keep the Java VM and the Saxon classes loaded, which as you point out will
greatly increase the throughput. The sample servlet also keeps compiled
stylesheets in memory, so if you use the same stylesheet repeatedly it won't
have to recompile it each time it's used.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]