org.mbari.siam.configt
Class BasicServer

java.lang.Object
  extended by org.mbari.siam.configt.BasicServer

public class BasicServer
extends java.lang.Object

BasicServer is a bare-bones implementation of a Jetty (http://jetty.mortbay.org/jetty) HTTP server and servlet container. In this implementation, three contexts are implemented:

  1. The servlet context (http://:8181/config)
  2. A SIAM documentation browsing context (http://:8181/docs)
  3. A servlet test context (http://:8181/config/Dump)
Though the server is typically operated stand-alone, it is easy to embed in an application (e.g., SIAM). The server is invoked with a script: $SIAM_HOME/utils/jetrun; use 'jetrun --help' for options.


Field Summary
protected static org.apache.log4j.Logger _logger
          Log4J logger
 
Constructor Summary
BasicServer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_logger

protected static org.apache.log4j.Logger _logger
Log4J logger

Constructor Detail

BasicServer

public BasicServer()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.