Have a personal or library account? Click to login
Spring MVC Beginner's Guide Cover

Spring MVC Beginner's Guide

Unleash the power of the latest Spring MVC 4.x to develop a complete application

Paid access
|Sep 2025
Product purchase options

Unleash the power of the latest Spring MVC 4.x to develop a complete application

Key Features

  • 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

Book Description

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.

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

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.

Table of Contents

  1. Configuring a Spring Development Environment
  2. Spring MVC Architecture - Architecting your store
  3. Control Your Store with Controllers
  4. Working with Spring Tab Libraries
  5. Working with View Resolvers
  6. Intercept Your Store with Interceptor
  7. Incorporating Spring Security
  8. Validate Your Products with a Validator
  9. Give REST to Your Application with Ajax
  10. Float Your Application with Web Flow
  11. Template with Tiles
  12. Testing your Application
PDF ISBN: 978-1-78588-564-8
Publisher: Packt Publishing Limited
Copyright owner: © 2016 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 350