Modern API Development with Spring and Spring Boot
by Sourabh Sharma
Print Length 页数: 582 pages
Edition 版本: 1
Language 语言: English
Publisher finelybook 出版社: Packt Publishing
Released: 2021-06-25
ISBN-10: 1800562470
ISBN-13: 9781800562479
Book Description
A developer’s guide to designing,testing,and securing production-ready modern APIs with the help of practical ideas to improve your application’s functionality
Key Features
Build resilient software for your enterprises and customers by understanding the complete API development life cycle
Overcome the challenges of traditional API design by adapting to a new and evolving culture of modern API development
Use Spring and Spring Boot to develop future-proof scalable APIs
Book Description
The philosophy of API development has evolved over the years to serve the modern needs of enterprise architecture,and developers need to know how to adapt to these modern API design principles. Apps are now developed with APIs that enable ease of integration for the cloud environment and distributed systems. With this Spring book,you’ll discover various kinds of production-ready API implementation using REST APIs and explore async using the reactive paradigm,gRPC,and GraphQL.
You’ll learn how to design evolving REST-based APIs supported by HATEOAS and ETAGs and develop reactive,async,non-blocking APIs. After that,you’ll see how to secure REST APIs using Spring Security and find out how the APIs that you develop are consumed by the app’s UI. The book then takes you through the process of testing,deploying,logging,and monitoring your APIs. You’ll also explore API development using gRPC and GraphQL and design modern scalable architecture with microservices. The book helps you gain practical knowledge of modern API implementation using a sample e-commerce app.
By the end of this Spring book,you’ll be able to develop,test,and deploy highly scalable,maintainable,and developer-friendly APIs to help your customers to transform their business.
What you will learn
Understand RESTful API development,its design paradigm,and its best practices
Become well versed in Spring’s core components for implementing RESTful web services
Implement reactive APIs and explore async API development
Apply Spring Security for authentication using JWT and authorization of requests
Develop a React-based UI to consume APIs
Implement gRPC inter-service communication
Design GraphQL-based APIs by understanding workflows and tooling
Gain insights into how you can secure,test,monitor,and deploy your APIs
Who this book is for
This book is for inexperienced Java programmers,comp science,or coding boot camp graduates who have knowledge of basic programming constructs,data structures,and algorithms in Java but lack the practical web development skills necessary to start working as a developer. Professionals who’ve recently joined a startup or a company and are tasked with creating real-world web APIs and services will also find this book helpful. This book is also a good resource for Java developers who are looking for a career move into web development to get started with the basics of web service development.
Table of Contents
RESTful Web Services Fundamentals
Spring Concepts and RESTful APIs
API Specifications and Implementation
Biz Logic for APIs
Asynchronous API Design
Security – Authorization and Authentication
Designing User Interface
Testing APIs
Deployment of Web Services
gRPC Fundamentals
gRPC API Development and Testing
Logging and Tracing
GraphQL Fundamentals
GraphQL Development and Testing