Posts List

Generating Spring Bean Definitions in Intellij

When creating applications with Spring, I prefer to declare beans explicitly using Java Config; it keeps Spring configuration centralized, and keeps my classes free of Spring dependencies. One thing that irks me about this approach is that is can make defining beans a bit cumbersome. Thankfully, Intellij’s Live templates make this a doddle.