Reputation: 41022
can someone please explain to me the followings:
ApplicationContext
?ApplicationContext
and HttpSession
?found this implementation but can't understand the concept. http://mythinkpond.wordpress.com/2010/03/22/spring-application-context/
Upvotes: 0
Views: 1000
Reputation: 120318
Java EE has the concept of an ServletContext
, which is an interface for communicating with the container that is running a Java EE application.
The Spring framework has an ApplicationContext
class which is a way of communicating with the Spring container. In other words, it's a high level way of communicating with the Spring framework.
An HttpSession is state maintained by an application server for a series of requests made by a client. The HTTP protocol itself is stateless, so this is a way to keep some data about the user's interactions around.
Upvotes: 1