On Tue, 4 May 1999 [EMAIL PROTECTED] wrote:

> Another option is to use servlets, the converse of "applets" but embedded
> on the server side.  Apache supports JServ (see java.apache.org) which
> runs standalone alongside the web server.  Servlets let you do fancy
> things which you may want in the future.  In particular you could pool
> your database connections and reuse them from servlet to servlet.

Caveat on pooling database connections in servlets:

You need to make sure those database connections are thread safe.  Since
there is only one instance of a servlet running, you don't want threads
stealing resources from each other.

IMHO though, servlets are very useful, and are my favorite way of doing
servers in java.  Even if you don't plan to access them through a web
browser.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to