Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering RESTful Web Services with Java
  • Table Of Contents Toc
Mastering RESTful Web Services with Java

Mastering RESTful Web Services with Java

By : Marián Varga, Pedro Henrique Pereira de Andrade, Silvio de Morais, Thiago Bomfim, Igor Avancini Fraga
close
close
Mastering RESTful Web Services with Java

Mastering RESTful Web Services with Java

By: Marián Varga, Pedro Henrique Pereira de Andrade, Silvio de Morais, Thiago Bomfim, Igor Avancini Fraga

Overview of this book

REST powers the modern web, yet developers grapple with architectural missteps that lead to poorly designed REST endpoints, inadequate error handling, security vulnerabilities, and maintenance headaches. Written by five software engineering and Java experts, Mastering RESTful Web Services with Java helps you overcome these pitfalls with a deep, practical understanding of REST architecture, HTTP protocols, and modern API design principles. This hands-on guide introduces foundational concepts based on Roy Fielding’s principles and the Richardson Maturity Model and shows you how to apply them in your API development projects. You’ll build a Product API from scratch, progressively enhancing it with documentation, versioning, and security features, and then advance to creating an Order Management API that interacts with the Product API, while implementing advanced testing and performance optimization techniques. Each chapter delivers step-by-step explanations and practical examples, ensuring you develop production-ready skills that translate directly to your daily work. By the end of the book, you’ll be ready to deliver production-grade RESTful services and become the API expert your team turns to for critical application development projects.
Table of Contents (18 chapters)
close
close
Lock Free Chapter
1
Steps to a Great API
6
Enhancing Your API
11
Deployment and Performance
16
Other Books You May Enjoy
17
Index

Exposing a RESTful API with Spring

To implement REST APIs, in most chapters of this book, we are going to use Spring Boot. As it is a well-known and popular framework, it is very likely that you are familiar with it or have used it before.

However, the general API design principles are easily transferable to other Java technologies. You will learn more about how we can apply these principles to other technologies in Chapter 11.

In this chapter, we will discuss the process of designing a RESTful API. We will also concentrate on the practical implementation of the API using the Spring Framework, a popular choice for building RESTful APIs. By the end of this chapter, you will have the knowledge to design and create a RESTful API following the best practices.

In this chapter, we will be covering these topics:

  • Designing the product API
  • API implementation using Spring Boot
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.
Mastering RESTful Web Services with Java
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon