Threading

If possible, code servlets to be thread-safe, so the service method can be called concurrently from multiple threads. This threading model is the default for servlets running in EAServer and, in most cases, offers the best performance. If your servlet cannot support this threading model, code the servlet to implement the SingleThreadModel marker interface. This interface has no methods; the server recognizes that instances of any class that implements the interface must be single-threaded.