File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

spring global session scope

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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


Groovy
Ashish Sarin
author
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
    
    5
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.

regards
ashish


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: http://aspose.com/file-tools
 
subject: spring global session scope