Unleash the power of the latest Spring MVC 4.x to develop a complete application About This Book - Work through carefully crafted exercises with detailed explanations for each step will help you understand the concepts with ease - You will gain a clear understanding of the end-to-end request/response life cycle, and each logical component's responsibility - This book is packed with tips and tricks that demonstrate industry best practices on developing a Spring-MVC-based application Who This Book Is For The book is for Java developers who want to exploit Spring MVC and its features to build web applications. Some familiarity with basic servlet programming concepts would be a plus, but is not a prerequisite. What You Will Learn - Familiarize yourself with the anatomy of the Spring 4.X development environment - Understand web application architecture and the Spring MVC request flow - Integrate bean validation and custom validation - Use error handling and exception resolving - Get to grips with REST-based web service development and Ajax - Test your web application In Detail Spring MVC helps you build flexible and loosely coupled web applications. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also, Spring can integrate effortlessly with other popular web frameworks such as Struts, WebWork, Java Server Faces, and Tapestry. The book progressively teaches you to configure the Spring development environment, architecture, controllers, libraries, and more before moving on to developing a full web application. It begins with an introduction to the Spring development environment and architecture so you're familiar with the know-hows. From here, we move on to controllers, views, validations, Spring Tag libraries, and more. Finally, we integrate it all together to develop a web application. You'll also get to grips with testing applications for reliability. Style and approach This book takes a pragmatic step-by-step approach to web application development using Spring MVC, with informative screenshots and concise explanation.
A pretty good tutorial about Spring MVC and how to do stuff with it. There is a number of small mistakes and inconsistencies, but nothing hugely unsurmontable if you understand what you're doing. A bit more depth would have been appreciated at some points (for instance the injection mechanisms).
If you want to learn to program web as it should be, using the MVC pattern, there is nothing better to do with Spring MVC. And this book will help.
It is a guide for beginners, for those unfamiliar with Spring MVC. It is very good writing, well explained, and each step is explained what happened.
You will learn to do from a MVC simple application to implement REST. You will also learn to use templates with Apache Tiles, using integrated into Spring unit tests.
You must know something of web java as Servlet and JSP. Everything else Spring MVC will help.