Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Spring MVC Cookbook

You're reading from   Spring MVC Cookbook Over 40 recipes for creating cloud-ready Java web applications with Spring MVC

Arrow left icon
Product type Paperback
Published in Feb 2016
Last Updated in Feb 2025
Publisher
ISBN-13 9781784396411
Length 466 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Alexandre Bretet Alexandre Bretet
Author Profile Icon Alexandre Bretet
Alexandre Bretet
Alex Bretet Alex Bretet
Author Profile Icon Alex Bretet
Alex Bretet
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Setup Routine for an Enterprise Spring Application FREE CHAPTER 2. Designing a Microservice Architecture with Spring MVC 3. Working with Java Persistence and Entities 4. Building a REST API for a Stateless Architecture 5. Authenticating with Spring MVC 6. Implementing HATEOAS 7. Developing CRUD Operations and Validations 8. Communicating Through WebSockets and STOMP 9. Testing and Troubleshooting Index

Chapter 7. Developing CRUD Operations and Validations

Until now, we have seen how to build the read-only HTTP methods of an API. These methods in Spring MVC Controllers required you to master, or at least understand the presentation of a few techniques. Developing non-readonly HTTP methods raises a new set of underlying topics. Each of these topics has a direct impact on the customer experience and therefore each of them is important. We introduce the following four recipes as a frame to cover the subject:

  • Extending REST handlers to all HTTP methods
  • Validating resources using bean validation support
  • Internationalizing messages and contents for REST
  • Validating client-side forms with HTML5 and AngularJS
lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Spring MVC Cookbook
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon