RE: Best usage of saxon

Subject: RE: Best usage of saxon
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 24 Jul 2000 09:42:41 +0100
> 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


Current Thread
  • Best usage of saxon
    • juggy - Sat, 22 Jul 2000 00:08:59 +0200
      • <Possible follow-ups>
      • Kay Michael - Mon, 24 Jul 2000 09:42:41 +0100 <=