Wondering why we need to share spring beans in case if there are no static data inside?
A:
I think you need to share the ApplicationContext
- it holds the bean instances and definitions needed. The beans themselves aren't useful (from dependency-injection perspective) without their context.
Bozho
2010-04-09 16:32:42