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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 8904

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
wood burning stoves
subject: spring global session scope
Similar Threads
Injecting a session bean into an application bean
Servlet scopes vs. bean scopes in Spring
[Resolved] Services as Managed Beans
request and session spring scopes in standalone apps
spring scopes