Defining global session scope in spring framework
The global session scope is similar to the Session scope and really only makes sense in the context of portlet-based web applications. The portlet specification defines the notion of a global Session that is shared amongst all of the various portlets that make up a single portlet web application. Beans defined at the global session scope are bound to the lifetime of the global portlet Session.
<bean id="globalBean" class="com.abc.GlobalBean " scope="globalSession"/>