Portlet Factory, Version 6.1.2


 

J2EEDeploymentHandler servlet

The J2EEDeploymentHandler is a servlet that bootstraps the initialization of several IBM® WebSphere Portlet Factory run-time properties.

The servlet runs one time when WebSphere Portlet 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 WebSphere Portlet Factory.

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

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

Parent topic: Overview: administration and statistics


Library | Support |