W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

servlet indexing

From: Christopher William Turner <cwturner@cycom.co.uk>
Date: Mon, 14 Jun 1999 06:22:46 -0400 (EDT)
Message-ID: <3764D648.693D85D6@cycom.co.uk>
To: "www-jigsaw@w3.org" <www-jigsaw@w3.org>
Jigsaw's autoindexing and reloading of servlets is only suitable for
simple servlets with a single class. A more robust solution is to base the system
on jar packages instead.

java -jar ajarfile.jar
will execute a jar file starting from the class specified in the manifest file under the header "Main-Class"

I suggest jigsaw could create a similar standard perhaps using a manifest header of "Servlet-Class" to specify
the servlet class.

My particular servlets are in-memory databases and have long initialisation times
so other enhancements  might be:-
1) Do *not* auto-load the servlet when using jigadmin.
2) Do auto-load some servlets at jigsaw startup time.

--
Chris Turner, http://www.cycom.co.uk/
Received on Monday, 14 June 1999 07:50:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT