Singleton vs ServletContext for storing application scope objects
843842Oct 22 2009 — edited Oct 22 2009Hi all,
I would like to share some bean objects between all sessions inside the same web application, i.e. all users should access the same beans.
Which is the best way, to store the beans, use a singleton ore put them into the ServletContent vs get/setAttribute?
How about large objects, are there any limitations?
Thanks
Mert
Edited by: mahmut1 on Oct 22, 2009 3:32 AM