Mastering Microservices with Java 3/e

Sharma, Sourabh

  • 出版商: Packt Publishing
  • 出版日期: 2019-02-26
  • 定價: $1,520
  • 售價: 8.0$1,216
  • 語言: 英文
  • 頁數: 446
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789530725
  • ISBN-13: 9781789530728
  • 相關分類: Java 程式語言Microservices 微服務SOA
  • 立即出貨 (庫存=1)

商品描述

Key Features

  • Use domain-driven designs to build microservices
  • Explore various microservices design patterns such as service discovery, registration, and API Gateway
  • Use Kafka, Avro, and Spring Streams to implement event-based microservices

Book Description

Microservices are key to designing scalable, easy-to-maintain applications. This latest edition of Mastering Microservices with Java, works on Java 11. It covers a wide range of exciting new developments in the world of microservices, including microservices patterns, interprocess communication with gRPC, and service orchestration.

This book will help you understand how to implement microservice-based systems from scratch. You'll start off by understanding the core concepts and framework, before focusing on the high-level design of large software projects. You'll then use Spring Security to secure microservices and test them effectively using REST Java clients and other tools. You will also gain experience of using the Netflix OSS suite, comprising the API Gateway, service discovery and registration, and Circuit Breaker. Additionally, you'll be introduced to the best patterns, practices, and common principles of microservice design that will help you to understand how to troubleshoot and debug the issues faced during development.

By the end of this book, you'll have learned how to build smaller, lighter, and faster services that can be implemented easily in a production environment.

What you will learn

  • Use domain-driven designs to develop and implement microservices
  • Understand how to implement microservices using Spring Boot
  • Explore service orchestration and distributed transactions using the Sagas
  • Discover interprocess communication using REpresentational State Transfer (REST) and events
  • Gain knowledge of how to implement and design reactive microservices
  • Deploy and test various microservices

Who this book is for

This book is designed for Java developers who are familiar with microservices architecture and now want to effectively implement microservices at an enterprise level. Basic knowledge and understanding of core microservice elements and applications is necessary.

商品描述(中文翻譯)

主要特點:

- 使用領域驅動設計來構建微服務
- 探索各種微服務設計模式,如服務發現、註冊和 API Gateway
- 使用 Kafka、Avro 和 Spring Streams 實現基於事件的微服務

書籍描述:

微服務是設計可擴展、易於維護應用程序的關鍵。這本最新版的《Java 微服務精通》適用於 Java 11。它涵蓋了微服務領域的許多令人興奮的新發展,包括微服務模式、使用 gRPC 進行進程間通信以及服務編排。

本書將幫助您了解如何從頭開始實施基於微服務的系統。您將首先了解核心概念和框架,然後專注於大型軟件項目的高級設計。然後,您將使用 Spring Security 來保護微服務,並使用 REST Java 客戶端和其他工具進行有效的測試。您還將獲得使用 Netflix OSS 套件的經驗,其中包括 API Gateway、服務發現和註冊以及斷路器。此外,您還將介紹微服務設計的最佳模式、實踐和常見原則,這將幫助您了解如何在開發過程中解決問題並進行調試。

通過閱讀本書,您將學習如何構建更小、更輕、更快的服務,並能夠在生產環境中輕鬆實施它們。

學到的內容:

- 使用領域驅動設計來開發和實施微服務
- 了解如何使用 Spring Boot 實現微服務
- 探索使用 Sagas 進行服務編排和分佈式事務
- 了解使用表現狀態轉移(REST)和事件進行進程間通信
- 獲取實施和設計反應式微服務的知識
- 部署和測試各種微服務

適合閱讀者:

本書適合熟悉微服務架構並希望在企業級別有效實施微服務的 Java 開發人員。需要具備對核心微服務元素和應用程序的基本知識和理解。

目錄大綱

  1. A Solution Approach
  2. Environment Setup
  3. Domain Driven Design
  4. Implementing microservices
  5. Microservice Patterns - Part 1
  6. Microservice Patterns - Part 2
  7. Securing Microservices
  8. Consuming services using a Microservice WEB application
  9. Inter-process communication using REST
  10. Inter-process communication using gRPC
  11. Inter-process communication using Events
  12. Transaction Management
  13. Service Orchestration
  14. Troubleshooting Guide
  15. Best practices and common principles
  16. Converting a Monolithic App to a Microservice-Based App

目錄大綱(中文翻譯)


  1. 解決方案方法

  2. 環境設置

  3. 領域驅動設計

  4. 實施微服務

  5. 微服務模式 - 第一部分

  6. 微服務模式 - 第二部分

  7. 保護微服務

  8. 使用微服務 WEB 應用程式消費服務

  9. 使用 REST 進行進程間通訊

  10. 使用 gRPC 進行進程間通訊

  11. 使用事件進行進程間通訊

  12. 交易管理

  13. 服務編排

  14. 疑難排解指南

  15. 最佳實踐和常見原則

  16. 將單體應用轉換為基於微服務的應用程式