Two Laptop Bag
The moose likes Portals and Portlets and the fly likes spring global session  scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "spring global session  scope" Watch "spring global session  scope" New topic

spring global session scope

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

How does spring bean scope "global session " work in portlet application ?

Ashish Sarin
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
Hi Pradeep,

Portlet sessions have 2 scopes - portlet and application. The data placed in portlet scope is not accessible to other portlets in the same portlet application. The data placed in application scope is accessible to other portlets and servlets in the same portlet application. The concept of global session scope is specific to portlets, wherein the bean is placed in the application scope, so that it is accessible to all the servlets/portlets in the portlet application.


Author of
Getting started with Spring Framework
Portlets in Action
Spring Roo 1.1 Cookbook
Portlets blogSpring Roo blog
I agree. Here's the link:
subject: spring global session scope
jQuery in Action, 3rd edition