Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment:

Update nomenclature

What is Dependency Injection and Inversion of Control

...

?

Inversion of control Control is a way to handle dependencies of objectsinject dependent objects into your application. For an overview of of Inversion of Control (also referred to now as containers and the Dependency Injection )pattern, please read see Martin Fowler's article on IoC.

Spring

...

By default, the framework uses Spring for dependency injection. You may also use Spring to inject objects into your own applications. Spring is, among other things, an Inversion of Control framework. As of WebWork 2.2, it is the recommended IoC container. A detailed description how Spring Integration works and how it is configured is found here.
Besides Spring, there are numerous other containers available for that you to can use, such as Pico or the (deprecated) integrated XWork IoC container..

Info
titleWebWork/XWork integrated IoC Container
Note

As of WebWork 2.2, the The WebWork/XWork IoC container has been deprecated (though not removed) and the WebWork team recommends you use Spring for all your IoC needs

In WebWork IoC, objects that are have their dependencies managed are called "components".

...

utilized by WebWork 2.1 is not supported by Action 2.