Java API Development: From Basics to Microservices
Создание RESTful и GraphQL API с нуля на Java 17+
Summary:
The book "Java API Development" is a comprehensive practical guide for developers who want to master building modern web interfaces in Java. The author, Alexey Voronov, a senior developer with 10 years of experience, systematically takes the reader from the basic principles of API construction to deploying production solutions.
Who this book is for:
- Junior and Middle Java developers looking to transition to backend API development;
- Students and graduates of IT specialties studying Java;
- Developers from other languages (Python, C#) switching to Java;
- Tech leads wanting to systematize their knowledge of API design.
What you will learn:
- REST basics: resources, HTTP methods, statuses, HATEOAS;
- Setting up Spring Boot for a quick start on an API project;
- Working with JPA and Hibernate: entity mapping, repositories, pagination;
- Creating RESTful controllers with validation and error handling;
- Documenting APIs with Swagger/OpenAPI 3.0;
- Authentication and authorization: JWT, OAuth2, Spring Security;
- Developing GraphQL APIs using Spring GraphQL;
- Testing: unit, integration, with MockMvc and TestContainers;
- Microservice architecture: Service Discovery, API Gateway (Spring Cloud);
- Asynchronous communication: Kafka, RabbitMQ, WebSockets;
- Mo