I am using apache-tomcat-7.0.35
as web server for my java web application.
I am confused what is difference between two methods of storing object as given below.
1.store object in ApplicationContext
2.declare private static final <Type> obj = new <Type>();
and access it.