• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WHat is the application conext in java?

 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,

Many times I came across the ApplicationContext term, but did not get the meaning of this word properly.
Can anybody please explain me in deatil what, why it si imp.

Rahul
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check the API for org.springframework.context.ApplicationContext and this document.
 
Author
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ApplicationContext is a master object provided by the Spring framework to manage instantiation and lifecycle of the application's objects. You can find more about ApplicationContext at http://www.springsource.org

Spring Persistence with Hibernate
 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rahul Ba wrote:
Hi,

Many times I came across the ApplicationContext term, but did not get the meaning of this word properly.
Can anybody please explain me in deatil what, why it si imp.

Rahul



If it is a Web based application, Spring's Application Context's XML can be loaded at startup by making an entry in web.xml, a ContextLoaderListener is defined that loads the root application context of this web app at startup, - by default from /WEB-INF/applicationContext.xml. The root context is the parent of all servlet-specific contexts. This means that its beans are automatically available in these child contexts, both for Spring getBean(name) calls and (external) bean references.
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic