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

Specifying the Order Management API

In this section, you will develop the specification of the operations and data structures of the Order Management API. The Order Management API, as part of the project we are building over the course of this book, will handle the orders of products managed by the Product API.

As explained in the previous chapter, specification-first means an abstract API specification is created before the actual implementation of the API. Instead of starting with executable code in a programming language, you begin by defining the structure, behavior, and functionality of the API. That is why this is also known as API-first development.

In Chapter 1, we visited many key principles that should be considered when designing RESTful APIs. Let us look at how to apply those principles with the API-first approach.

Implementing HTTP principles in API-first development

When adopting an API-first approach, it is crucial to think in HTTP terms right from the...

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