javaconfig

A collection of 4 posts

A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Mar 9, 2014 javaconfig spring vaadin

Vaadin and Spring integration through JavaConfig

When I wrote the first version of Learning Vaadin, I hinted at how to integrate Vaadin with the Spring framework. I only described the overall approach by providing a crude servlet that queried the Spring context to get the Application instance. At the time of Learning Vaadin 7, I was eager to work on add-ons the community provided in terms of Spring integration.

Nicolas Fränkel
Nov 9, 2013 javaconfig spring

Integrate Spring JavaConfig with legacy configuration

The application I’m working on now uses Spring both by parsing for XML Spring configuration files in pre-determined locations and by scanning annotations-based autowiring. I’ve already stated my stance on autowiring previously, this article only concerns itself on how I could use Spring JavaConfig without migrating the whole existing codebase in a single big refactoring.

Nicolas Fränkel
Oct 27, 2013 javaconfig method injection spring

Spring method injection with Java Configuration

Last week, I described how a Rich Model Object could be used with Spring using Spring’s method injection from an architectural point of view. What is missing, however, is how to use method injection with my new preferred method for configuration, Java Config. My start point is the following, using both autowiring (shudder) and method injection.

Nicolas Fränkel
Mar 10, 2013 javaconfig spring

Consider replacing Spring XML configuration with JavaConfig

Spring articles are becoming a trend on this blog, I should probably apply for a SpringSource position :-) Colleagues of mine sometimes curse me for my stubbornness in using XML configuration for Spring. Yes, it seems so 2000’s but XML has definite advantages: Configuration is centralized, it’s not scattered among all different components so you can have a nice overview of beans and their wirings in a single placeIf you need to split your files, no problem, Spring let you do that.

Nicolas Fränkel
A Java geek © 2008-2026
v. bc04c88300c3ec997ce8470fbff5395dc9e518b1/13264050981
Latest Posts