On Tue, Jan 22, 2002 at 04:06:00PM -0500, Gianni Johansson wrote:
> Right now Tavin and I are the only ones writing servlets, but I imagine that
> will soon change because they are a powerful way of writing cross platform 
> Freenet applications.  If we start down the slippery slope where every 
> servlet is loaded into Fred's JVM, we are setting ourselves up for stability 
> problems down the road.   

If a servlet doesn't need to be in Fred's JVM, it should obviously be
implemented as a FCP client.  The only reason we made an exception for
FProxy was because we knew that people would almost always want to run
it with Fred, and so we should make it as resource efficient as possible
(running it separately would require a separate JVM which would be a
serious resource hog).

nodestatus is an example of a "true" servlet, since they can't get the
information they need via FCP.

To reiterate, holding the option open for servlets to run outside Fred's
JVM is pointless, since if the servlet doesn't need to be part of the
JVM, then it shouldn't be a servlet, it should be an FCP client.

Ian.

-- 
Ian Clarke                                        ian at freenetproject.org
Founder & Coordinator, The Freenet Project    http://freenetproject.org/
Chief Technology Officer, Uprizer Inc.           http://www.uprizer.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020122/7d65208c/attachment.pgp>

Reply via email to