Uploaded by tutorials168portlets 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!
Category:
Tags:
- PortletSession
- APPLICATION_SCOPE
- SCOPE
- new
- jsr168
- 168
- 186
- portlet
- development
- programming
- tutorial
- portal
- admin
- jetspeed
License:
Standard YouTube License
-
3 likes, 0 dislikes
8:34
Introduction to Portlet Development: Programming to JSR 168by tutorials168portlets20,076 views
9:04
PortletSession APPLICATION_SCOPE: 168 Portlets Sharing Databy tutorials168portlets3,659 views
6:53
Action Processing in a JSR168 Portlet: WindowStates Tutorialby tutorials168portlets2,484 views
7:21
Part I: Portlet Edit Mode and the NumberGuesserPortletby tutorials168portlets5,826 views
6:20
Portlet Encode NameSpace: How to Encode a Portal NameSpaceby tutorials168portlets1,184 views
7:56
Using the PreferencesValidator in a JSR168 Portlet: Tutorialby tutorials168portlets1,103 views
6:23
Developing JSR168 Portlet Applications w IRAD for WebSphereby tutorials168portlets1,551 views
5:40
Part2: How to forward to a JSP from a Portlet doView Methodby tutorials168portlets8,493 views
8:26
Action Processing Portlet: IRAD & RSA & WebSphere Portal WPSby tutorials168portlets818 views
3:11
Portlet Application Export w Rational Application Dev IRADby tutorials168portlets1,339 views
8:11
Saving Data in the PortletSession: Managing Portal State JEEby tutorials168portlets2,486 views
4:47
02. Creating your first Liferay Portletby rohitbrai28,733 views
4:30
Lesbian Codeby XenGab4Ever16,036,567 views
2:41
WebSphere Portal 6.1 Look and Feel Developmentby alden0c11,429 views
5:33
Taller portlets liferay Parte 1by manuellopezmn2,803 views
8:59
How to Display an Image in a Java Portlet JSR168: A Tutorialby tutorials168portlets8,381 views
7:01
JSPs & Portlets: Forwarding to a JSP from doView in JSR168by tutorials168portlets6,456 views
8:55
WebSphere Portal works for Banking - Part 1by quasifu2,431 views
9:59
Java Portlet Development w IRAD for WebSphere Portal Serverby tutorials168portlets14,464 views
7:19
Liferay 5.1 Introductionby liferayinc26,109 views
- Loading more suggestions...
Link to this comment:
All Comments (0)