November 2012
Beginner to intermediate
160 pages
3h 22m
English
We will use the Java configuration for configuring the application context of our application. The name of our application context configuration class is ApplicationContext, and its implementation is explained in the following points:
@Configuration annotation is used to identify the class as an application context configuration class.@ComponentScan annotation is used to configure the base package of our controllers.@EnableWebMvc annotation is used to enable the Spring MVC.@PropertySource annotation. The Environment interface is used to access the property values stored in this file.Read now
Unlock full access