April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Spring ApplicationContext
nAn ApplicationContext is a BeanFactory, but adds “framework” features such as:
ni18n messages (internationalization)
nEvent notifications and treatment
nApplicationContext extends BeanFactory
nAdds services such as international messaging capabilities.
nAdd the ability to load file resources in a generic fashion
nA Spring ApplicationContext allows you to get access to the objects that are configured in a BeanFactory in a framework manner. There are Several ways to configure a context:
nXMLWebApplicationContext – Configuration for a web application.
nClassPathXMLApplicationContext – standalone XML application context
nFileSystemXmlApplicationContext
nAllows you to avoid writing Service Locators
n