Book Image

Hands-On RESTful API Design Patterns and Best Practices

By : Anupama Murali, Harihara Subramanian J, Pethuru Raj
Book Image

Hands-On RESTful API Design Patterns and Best Practices

By: Anupama Murali, Harihara Subramanian J, Pethuru Raj

Overview of this book

This book deals with the Representational State Transfer (REST) paradigm, which is an architectural style that allows networked devices to communicate with each other over the internet. With the help of this book, you’ll explore the concepts of service-oriented architecture (SOA), event-driven architecture (EDA), and resource-oriented architecture (ROA). This book covers why there is an insistence for high-quality APIs toward enterprise integration. It also covers how to optimize and explore endpoints for microservices with API gateways and touches upon integrated platforms and Hubs for RESTful APIs. You’ll also understand how application delivery and deployments can be simplified and streamlined in the REST world. The book will help you dig deeper into the distinct contributions of RESTful services for IoT analytics and applications. Besides detailing the API design and development aspects, this book will assist you in designing and developing production-ready, testable, sustainable, and enterprise-grade APIs. By the end of the book, you’ll be empowered with all that you need to create highly flexible APIs for next-generation RESTful services and applications.
Table of Contents (13 chapters)

Technical requirements

As we will take a plunge into the code and samples, and a few pattern implementations in this chapter, the readers are expected to have a Java programming language and understand the basic concepts of Java 1.8. Our examples are implemented with Spring Boot and we have provided instructions to download and run the sample codes anywhere. However, for those who want to execute and test the code samples provided in this chapter, they may need to have the basic and necessary understanding of data formats such as JSON and XML, and also have a basic understanding of a Maven build process and client-server or web services development.

The following is the GitHub link for this chapter: https://github.com/PacktPublishing/Hands-On-RESTful-API-Design-Patterns-and-Best-Practices.git.

For the code to run in your computer, you need Java 8, Spring 4 (1.4.4), and Maven...