concept web application context in category java

appears as: web application context, web application context
Portlets in Action

This is an excerpt from Manning's book Portlets in Action.

7.6. Using the web application context

DispatcherPortlet is central to portlet request processing, and the web application context is central to configuring your portlet in Spring Portlet MVC.

In Spring Portlet MVC, the web application context XML file contains configuration information about the portlet; the file defines beans that form part of the portlet (see listing 7.5). Beans and their interdependencies are defined declaratively in the web application context XML file, and the Spring Framework is responsible for injecting these dependencies while creating them.

Listing 8.21. The WebDataBinder configuration in the web application context XML