Creating Web Applications with Spring MVC

In the last chapter, we learned how to create JEE applications using EJBs. In this chapter, we are going to divert a bit from the core JEE specifications and learn Spring MVC. 

Although this book is about JEE and Eclipse, and Spring MVC is not a part of JEE, it would be worthwhile to understand the Spring MVC framework. Spring MVC is a very popular framework for creating web applications and can be used with other JEE technologies, such as servlet, JSP, JPA, and EJBs.

JEE does support MVC out of the box, if you use JSF. Refer to Java Server Faces in Chapter 2, Creating a Simple JEE Web Application, for details. However, there is a difference in the design of JSF and Spring MVC. JSF is a component-based ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.