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 [...]
Categories: Java/J2EE
Tagged: Annotation, context, Reflection, Reflections, spring
- Published:
- July 19, 2011 – 3:42 AM
- Author:
- By erez
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.
Categories: Java/J2EE
Tagged: context, dependency injection, prototype, spring
- Published:
- February 14, 2010 – 2:29 AM
- Author:
- By erez
Setting up spring application context hierarchies in a typical enterprise dependency stack using ContextSingletonBeanFactoryLocator
Categories: Java/J2EE
Tagged: context, spring
- Published:
- February 10, 2010 – 12:20 PM
- Author:
- By erez