In this chapter, we learned how to use Spring MVC to create web applications. As the name indicates, Spring MVC implements the MVC design pattern, which enables clear separation of the user interface code and the business logic code.
Using the dependency injection feature of the Spring Framework, we can easily manage the dependencies of different objects in the application. We also learned how to use JDBC and JPA along with Spring MVC to create data-driven web applications.
In the next chapter, we will see how to create and consume web services in JEE applications. We will look at both SOAP-based and RESTful web services.