Home > Guides > Core Developers Guide > Dependency Injection |
Internally, the framework uses its own dependency injection container that is very similar to Google Guice. Both were originally developed by Bob Lee. Plugins are available to integrate applications with other IoC containers (e.g. Spring Plugin, Plexus Plugin). An application can even use a local copy of Google Guice for dependency injection needs.
Actions can still be instantiated via Spring configuration by way of the Spring Plugin, but Spring is entirely optional.
The WebWork/XWork IoC container utilized by WebWork 2.1 is not supported by Struts 2.