Configuring the Servlet Container
The servlet container hosts all services, including both servlets written directly with the Servlet API and Web services created from WSDL files using the rwsfgen code generator. HydraExpress Web services are implemented as servlets.
A global
web.xml file located in
<installdir>\conf\servlet sets configuration parameters that apply to all servlet contexts. Individual servlets are configured in a
web.xml configuration file that must reside in a
WEB-INF directory inside your project.
Table 5 shows the deployment structure for servlets and services, including the location of this file.
Table 5 – Servlet container deployment directory structure
Directory Name | Contents |
---|
<installdir> | HydraExpress installation directory |
apps | Agent deployment directory |
\servlets | Contains context directories for all servlets and Web services deployed in the Agent |
\<servicecontextname> | Contains WSDL and configuration files |
\WEB-INF | Contains servlet descriptor web.xml and named objects configuration file objects.xml |
apps-bin (Windows) | Deployment of user-created servlet, named-object, handler and listener libraries. |
apps-lib (Linux/UNIX) |