What is PortletSession interface?
What is PortletSession interface?- User identification across many requests and transient information storage about the user is processed by PortletSession interace. One PortletSession is created per portlet application per client.
- The PortletSession interface provides a way to identify a user across more than one request and to store transient information about that user.
- The storing of information is defined in two scopes: 1. APPLICATION_SCOPE 2. PORTLET_SCOPE.
1. APPLICATION_SCOPE: - All the objects in the session are available to all portlets,servlets, JSPs of the same portlet application, by using APPLICATION_SCOPE.
2. PORTLET_SCOPE: - All the objects in the session are available to the portlet during the requests for the same portlet window. - The attributes persisted in the PORTLET_SCOPE are not protected from other web components.
|
What is PortletContext interface?What is PortletContext interface? - The portlet view of the portlet container is defined by PortletContext. It allows the availability of resources to the portlet.....
Why portals?Portals - The following are the reasons to use portals: Unified way of presenting information from diverse sources....