...
| Spring | PicoContainer | Guice |
---|---|---|---|
Supports start/stop lifecycle hooks for components | Yes (interface or xml-configured) | Yes (interface or annotation) | ? |
Requires component coupling to framework | No | Yes | Yes |
Supports autowiring and explicit (in-code) wiring | Yes (JavaConfig) | ? | ? |
Supports external wiring (outside of code) | Yes (xml) | ? | ? |
OSGi-Friendly | Yes (Spring-DM ) | ? | Yes (Guice-Peaberry) |
JSR-330 Support |