Jul 6th, 2011, 07:11 AM
I have two web applications running on the same servlet container and i want to share an instance of a spring managed bean between them.
While i am looking over Spring 3 api doc, i see that a new scope named ServletContextScope is added by default and i thought that it may suit my needs by configuring the applications with cross context support on the container.
However, i could not find anything on ref. documentation about the ServletContextScope.
How can i reference a bean from webapp1 that is created by webapp2 within ServletContextScope ("application") ?
Thanks for your help...
Tags for this Thread