org.mbari.siam.configt
Class SimpleServer

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

public class SimpleServer
extends java.lang.Object

SimpleServer 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
SimpleServer()
           
 
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

SimpleServer

public SimpleServer()
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.