JSF applications behavior is much similar when inside portlets. In this chapter, we will see how JSF applications work as a portlet, how does the JSF life cycle maps to the portlet life cycle and some JSF portlet programming guidelines.
The JSF portlet runtime is the component that makes possible to run JSF applications as portlets in WebSphere Portal. The JSF portlet runtime is found in a different jar file for each portlet API:
For the JSR 168 API, the jar file is jsf-portlet.jar.
For the IBM Portlet API, the jar file is jsf-wp.jar.
Figure 16-5 on page 543 shows how the JSF portlet runtime and the JSF servlet runtime interact with the common JSF runtime.