PortletSession: How to Manage Portal User State Programatically in doView

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,640
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 13, 2008

Managing State with the PortletSession

To view the full screen, high quality and resolution CBT video, go here:

http://jpa.ezhibernate.com/jsr168/index.jsp?link=multi08portletsession

If the user is going to be good enough to provide information to us through html forms and http headers, the least we could do is keep track of that information, if only for the duration of the user?s visit to our site.
To provide a stateful experience for portal users, portlet developers rely upon the services of the PortletSession, which, by the way, is remarkably similar to the HttpSession object from the Servlet API.
The PortletSession is easy to use, and helps maintain a stateful experience for the user, overcoming the stateless nature of the HTTP protocol.
This tutorial takes a look at how to use the PortletSession to manage

Please support our site, link to us, buy some books, and remember: Happy Java!

PortletSession session = request.getPortletSession();

Check out my mock exams at my Sun Certification site:

http://www.scja.com/associate

For a great Portlet and Hibernate development book, go here:

http://www.thebookonhibernate.com

This tutorial uses IRAD/RSA, but deployment can go to any JSR168 standards compliant portal application server, including WebSphere, JetSpeed, Pluto, BEA, OpenPortal, LifeRay, Oracle, Sun, IBM, apache and more!

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more