Learn Java for Web Development

(Tina Meador) #1

214 CHAPTER 5: Building Java Web Applications with Spring Web MVC


Now you need to add the Spring Framework and common logging API libraries in your project.
You can download the Spring Framework libraries from http://projects.spring.io/spring-framework/.
You can use Maven as explained in the previous chapter to configure the Spring Framework in your
project. When using Maven, you need to add following to your pom.xml file:




org.springframework
spring-context
3.2.5.RELEASE


Using Maven is much easier, but to know which key libraries are used for the three applications
you will make in this section, you can manually configure the libraries in Eclipse. These libraries are
available in the downloadable archive available from the Source Code/Download tab on the book’s
Apress webpage (www.apress.com/9781430259831).


Figure 5-2. Creating the Java project

Free download pdf