head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	98.12.21.15.30.17;	author ed;	state Exp;
branches;
next	;


desc
@@


1.1
log
@docs for JServ 0.9.12
@
text
@This document briefly describes the way that the Java side of JServ works. 
It is intended to quickly bring new developers up to speed.

-
 * Authors: 	Brian Jonnes, Jon S. Stevens
 * Revision:	$Revision: 1.1 $ 
 * Date:		$Date: 1998/11/18 02:08:30 $
-


JServHandler is the entry point for the Java side of JServ.

JServHandler:
 - JServHandler's init code creates a JServServletManager for every virtual
   server that is required.
 - JServHandler creates a thread which loops continuously which:
    - Waits for a connection (ServerSocket.accept(Socket))
    - With each connection dish out a JServConnection

JServConnection:
 - determines which virtual server called it (JServServletManager)
 - gathers the data from the server (apache)
 - requests the servlet from its JServServletManager
 - calls the servlet's service method.

JServServletManager:
 - has a unique JServClassLoader associated with it
 - dishes out servlet classes to JServConnection (see above)
 - will re-instantiate its class loader if classes have changed (and this
   feature is enabled)
@
