16.6. JSF in portlets

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.

16.6.1. JSF portlet runtime

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.

Figure 16-5. How the JSF portlet runtime ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.