J2EE deployment handler

The J2EEDeploymentHandler is a servlet that bootstraps the initialization of several Factory run-time properties. The servlet runs one time when the Factory's Web application is first initialized by the J2EE application server. This servlet is not designed to handle end-user requests, therefore it has no URL mappings in the default web.xml file that ships with the Factory.

If you make changes to the Factory's web.xml deployment descriptor please be careful to preserve the order in which the Factory's servlets are initialized by the application server. The J2EEDeploymentHandler must always be initialized before any other Factory servlets. If this requirement is violated, the Factory is not initialized correctly and it most likely results in errors while processing end-user requests.

If we need to add custom servlets to the Factory's web.xml descriptor, then it is recommended that these new servlets be initialized after all of the Factory's servlets have been initialized. This approach guarantees that all Factory resources are correctly initialized before being used by your custom servlets. If your custom servlets do not make use of any Factory resources, then it is safe to initialize them in whatever order makes sense for your application.