Chapter 10. Frameworks in a Portal

In this chapter, we will cover:

  • Creating a JSF 2 portlet
  • Using jQuery in a portlet
  • Using portlet events in JSF 2
  • Creating a RichFaces 4 portlet

Introduction

In this chapter, will cover creating portlets with various frameworks, with the focus on Java Server Faces 2, to provide examples of the ease with which these frameworks can be used to develop portlets. Using frameworks, such as JSF 2, does require the inclusion of a Portlet Bridge, but this is achieved without noticeable complexity for a developer.

Note

A Portlet Bridge adds functionality to a portlet to handle the lifecycle differences between the Portal and Servlet environments. How a Portlet Bridge works is specified within JSR-301 and JSR-329, though these only cover JSF 1.0 and 1.2. There is currently no JSR for Portlet Bridge and JSF 2 interoperability, but those on the expert group are working together to define a common API.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.249.198