Sokrates Documentation

Sokrates is a 100% pure Java servletrunner for the LRWP 2.0 protocol which is currently supported by the Xitami webserver.

This pages tells you about installation, running and maintenance of the product.  If you are new to the Java servlet technology, you may visit http://java.sun.com/products/servlet/ to obtain more information.

Summary of Features
  • Easy to setup, runs out of the box. A small demonstration servlet is pre-configured for your instant success.
  • Supports Xitami's LRWP 2.0 for fastest data transfer. The LRWP (Long Running Web Process) Protocol allows persistent connection of peer processes which reduces the need for starting new threads on demand. After Sokrates has started your servlet you have a stable, predictable environment.
  • Supports Servlet API 2.2 for best performance and portability.
  • The session manager (the part of the servlet runner which tracks and stores session information) is a user definable plugin. We included a memory based session manager and a file based session manager, but you can write a manager by your own which stores its data in a database (mySQL or DB2 for instance).
  • Each servlet is running in its own container using its own log file or the log file of the servlet runner itself. Location and name of the logfiles are userdefinable. There are easy to understand filter rules to prevent unwanted log entries (separate for screen and disk) written.
  • Sokrates can listen to different styles of URLs (/myservlet, /servlet.html, /.jsp).
  • One instance can cover all your virtual hosts so there isn't any need to install an email form servlet for each customer.
  • Integration into Java IDE is possible to make debugging of your servlet very easy.
Requirements
  • Xitami v2.4d9 or v2.5b5
  • Java 1.1.6 or better
  • Space on your harddisk
Main - Installation - Stopping and Restarting - Adding New Servlets - Better Structures - How does it work ?Sessions -