WebSphere Commerce portlet render handler

The WebSphere Commerce Portlet render handler has only one task. It simply checks for the current state and mode of the portlet to determine the appropriate JSP path to be used when calling the request dispatcher.

Note: It is not recommended to make any WebSphere Commerce service call directly from this render handler, especially service calls that involve update operations. This handler is called upon every render request, even upon refreshing the portlet content. To optimize the response time, it is better to delegate all the read-only type service requests to be issued by the JSP instead by the controller. This is to allow the caching service to intercept any cachable request upon a cache hit and avoid unnecessary service calls to the WebSphere Commerce server.

A generic render handler, com.ibm.commerce.foundation.client.portal.handlers.MVCPortletRenderHandler, has been provided with the MVCPortlet. See the JavaDoc for MVCPortletRenderHandler for more information.

To create a new customized version of the WebSphere Commerce Portlet render handler, the new code must implement the com.ibm.commerce.foundation.client.portal.handlers.PortletRenderHandler interface.