Chapter 10. Portlet application development 365
SessionBean is valid beyond the current request, for as long as the user’s
PortletSession lives. It can be used to store data such as the current DB2
Content Manager datastore that the portlet is working with.
JavaServer Page (View)
Like the servlet MVC implementation, the View is traditionally implemented using
JSPs or simple HTML. However, because the HTML the View returns will be
aggregated, it must not contain page-level tags and must be very aware of the
environment in which it is executing. Furthermore, the Portlet API provides tag
libraries that aid in creating dynamic view resources for the portlet environment.
The JSP takes the information to visualize from the View Bean. In Figure 10-1, ...