[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|