This is an excerpt from Manning's book Portlets in Action. Login to get full access to this book.
Listing 3.7. Sharing session data using PortletSession's APPLICATION_SCOPE