Tag Archives: context

Spring custom annotations using context:component-scan 0

Everyone seems to think annotations are cool and want to use them now days. A lot has been written about the pros and cons of using annotations and personally I think they should be used with caution. Mixing annotation domains to a point of total confusion, spreading configuration related meta-data across large code bases to [...]

Spring prototype scoped beans and dependency injection 2

Within the typical Spring container most of the beans with dependency on other beans end up being stateless singleton beans. However every once in a while you want a stateful prototype beans with dependencies.

Spring Application Context Hierarchy and ContextSingletonBeanFactoryLocator 1

Setting up spring application context hierarchies in a typical enterprise dependency stack using ContextSingletonBeanFactoryLocator