Monthly Archives: February 2013

How to Install Maven

Maven is a popular, if not the most popular, Java build tool and dependency management framework. It is a good idea to use a build tool rather than rely on your IDE build scripts if you are planning on collaborating

Posted in Maven Tagged with: , ,

Spring Java Configuration

I have found that a lot of Spring developers I know still do not know about or use Spring Java Configuration (aka JavaConfig). Spring 3.0 introduced this feature which allows Spring to be configured entirely in Java – no more

Posted in Spring Tagged with: , , ,

Explicitly defining a Spring MVC Annotation-Based Controller

Beginning with Spring MVC 2.5, MVC controllers can be declared using theĀ @Controller annotation. Spring picks up the controller through this declaration in Spring servlet application context: <context:component-scan base-package=”com.myapp.controller” /> In the past, this has worked perfectly for me, and I

Posted in Java, Spring Tagged with: , ,


Follow Me

RSS FeedFollow me on Twitter