Servlet Engine

Info

Short description The Servlet Engine provides a web container that enables developers to load applications and objects, so-called servlets, on application server startup and hold them persistently in memory. Using servlets allows you to optimize your applications bootstrapping to take place at application servers startup time. As a result, the time to process requests will be significantly lower compared to applications running on the common LAMP stack.
Availability since 1.0.0
Type Main Module
Dependencies Appserver.io Runtime, Appserver.io Webserver
PSR https://github.com/appserver-io-psr/servlet


Functions

Features
  • Persistent servlets over request boundaries
  • Bootstrap servlets on application server start
  • Garbage collection of persistent objects
  • DI support to inject Resources, Session and MessageDriven beans
  • AOP support for servlets
  • Use annotations to configure servlets
  • Override annotations by XML configuration
  • Easy to use session management
  • HTTP basic and digest authentication

Use Case

During the last years, as PHP tries to advance to the enterprise market, PHP developers have had to face the reality that PHP does not provide an enterprise ready infrastructure like Java. That leads to the situation where PHP developers have to build up huge knowledge about external tools and libraries written in languages they are not familiar with as the application server brings the missing infrastructure to the PHP ecosystem; it enables PHP developers to use the services it provides. Extending and using such services will be much more convenient since they are written in their native language.

One part of the infrastructure is the Servlet Engine. Using a Servlet Engine gives developers the possibility to write blazing fast applications optimized that perfectly fit their requirements as it provides single functionality. The controller part of an application, based on the MVC pattern naturally allows developers to integrate third-party libraries like a template engine, whenever needed.

The perfect use case for the Servlet Engine are enterprise level applications, that makes massive usage of the application servers services. That applications can benefit from the Servlet Engines performance, flexibility and simplicity in particular.

Load Comments

Please note that by clicking "Load Comments", your browser will establish a connection with servers from Disqus.
For more information, please visit our privacy statement.