Minnal C++ Servlet Container
1.7.0
Developed by Sans Pareil Technologies, Inc. (SPT)
|
Minnal C++ Servlet Container is a medium performance C++ servlet container built using Poco HTTPServer implementation. Individual servlets for handling various paths are configured in a JEE standard web.xml file. The container (much like JEE web containers) handle the responsibility of routing the requests to the appropriate servlets based on the request URI and the serlvet-mapping configuration in web.xml
The core classes that constitute the container are the following:
minnal.xml
container configuration file and creates instances of for each virtual host configured. spt::servlet::VirtualHostServer is our implementation of Poco::Net::HTTPRequestHandlerFactory. The web.xml
file is parsed and the servlet name to servlet configuration (path, initialisation parameters, context parameters etc) mapping is stored and used to route client requests to the appropriate spt::servlet::Servlet instance. run()
method and delegates to the appropriate doXxx
method as JEE HTTPServlet does. The default implementation of the doXxx
methods returns a HTTP_METHOD_NOT_IMPLEMENTED
error. Sub-classes implement the appropriate doXxx
methods.Minnal uses a few very popular libraries in its implementation. The major libraries used include: