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
Mastering RESTful Web Services with Java

You're reading from   Mastering RESTful Web Services with Java Practical guide for building secure and scalable production-ready REST APIs

Arrow left icon
Product type Paperback
Published in Jul 2025
Publisher Packt
ISBN-13 9781835466100
Length 432 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (5):
Arrow left icon
Marián Varga Marián Varga
Author Profile Icon Marián Varga
Marián Varga
Pedro Henrique Pereira de Andrade Pedro Henrique Pereira de Andrade
Author Profile Icon Pedro Henrique Pereira de Andrade
Pedro Henrique Pereira de Andrade
Silvio de Morais Silvio de Morais
Author Profile Icon Silvio de Morais
Silvio de Morais
Thiago Bomfim Thiago Bomfim
Author Profile Icon Thiago Bomfim
Thiago Bomfim
Igor Avancini Fraga Igor Avancini Fraga
Author Profile Icon Igor Avancini Fraga
Igor Avancini Fraga
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Steps to a Great API
2. Understanding RESTful Core Concepts FREE CHAPTER 3. Exposing a RESTful API with Spring 4. Documenting Your API Effectively 5. Generating Code with OpenAPI 6. Enhancing Your API
7. Managing API Evolution 8. Advanced API Concepts and Implementations 9. Securing Your RESTful API 10. Testing Strategies for Robust APIs 11. Deployment and Performance
12. Monitoring and Observability 13. Scaling and Performance Optimization Techniques 14. Alternative Java Frameworks to Build RESTful APIs 15. Deploying APIs 16. Other Books You May Enjoy
17. Index

Summary

This chapter covered two important areas for building strong RESTful APIs: data handling and resilience.

The Data handling section focused on managing large amounts of data efficiently. Key techniques include pagination, which splits data into smaller pages to improve performance, and filtering, which allows clients to request only the data they need. The chapter also explained how to handle file uploads and downloads securely, ensuring that APIs can manage large files without slowing down. Additionally, we introduced HATEOAS, which adds navigational links to API responses, making it easier for clients to interact with the API.

The Resilience section showed us how we can keep APIs stable and reliable under various conditions. Important strategies included setting timeouts to avoid long wait times, using retry mechanisms to handle temporary failures, and implementing rate limiting to prevent abuse and manage traffic. Throttling helps control the flow of requests, while...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime