Class SimpleServer

  extended by org.mbari.siam.configt.SimpleServer

public class SimpleServer
extends java.lang.Object

SimpleServer is a bare-bones implementation of a 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
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


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

Constructor Detail


public SimpleServer()
Method Detail


public static void main(java.lang.String[] args)
                 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.