[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web server questons



Hello!


On Thu, 25 Apr 2002, Paul Graunke wrote:

> At Thu, 25 Apr 2002 23:26:41 +0400 (MSD), Kirill Lisovsky wrote:
> > 1. What it the best way to use byte-compiled servlets?
> 
> You can use mzc to byte compile any .ss file.  If (most of) the code is
> in a collection, you can create an info.ss file, so setup-plt will compile
> the collection.  Check help-desk for mzc and for info.ss.
> > 
Is it possible to load .zo _servlet_ if it is available and .ss otherwise?
(As load/use-compiled does it for regular files?)

It seems that web server always use some-servlet.ss instead of 
compiled/some-servlet.zo which is ignored by web server, isn't it?

> > 3.                  ... to load a bulk of Scheme data in RAM and access it
> >  from multiple servlets?   
> >   Is it possible to save it before server shutdown?
> > 
> Same as 2.  Functions are data, too :-)
> 
The point is: how to save _modified_ data on server _shutdown_ (it may be a common
situation for a particular server) rather than on data update operation invoked
by a servlet?

Thank you for the fast reply!

Best regards, 
         Kirill.