Hands-On Enterprise Java Microservices with Eclipse MicroProfile Build and optimize your microservice architecture with Java

Cesar Saavedra (Author), Heiko W. Rupp , Jeff Mesnil , Pavol Loffay , Antoine Sabot-Durand , Scott Stark

商品描述

Key Features

  • Create cloud-native microservices with ease using this detailed guide
  • Avoid vendor lock-in when implementing microservices using Eclipse MicroProfile
  • Discover why MicroProfile is a great specification for building microservices in multi-cloud environments

Book Description

Eclipse MicroProfile has gained momentum in the industry as a multi-vendor, interoperable, community-driven specification. It is a major disruptor that allows organizations with large investments in enterprise Java to move to microservices without spending a lot on retraining their workforce.

This book is based on MicroProfile 2.2, however, it will guide you in running your applications in MicroProfile 3.0. You'll start by understanding why microservices are important in the digital economy and how MicroProfile addresses the need for enterprise Java microservices. You'll learn about the subprojects that make up a MicroProfile, its value proposition to organizations and developers, and its processes and governance. As you advance, the book takes you through the capabilities and code examples of MicroProfile's subprojects - Config, Fault Tolerance, Health Check, JWT Propagation, Metrics, and OpenTracing. Finally, you'll be guided in developing a conference application using Eclipse MicroProfile, and explore possible scenarios of what's next in MicroProfile with Jakarta EE.

By the end of this book, you'll have gained a clear understanding of Eclipse MicroProfile and its role in enterprise Java microservices.

What you will learn

  • Understand why microservices are important in the digital economy
  • Analyze how MicroProfile addresses the need for enterprise Java microservices
  • Test and secure your applications with Eclipse MicroProfile
  • Get to grips with various MicroProfile capabilities such as OpenAPI and Typesafe REST Client
  • Explore reactive programming with MicroProfile Stream and Messaging candidate APIs
  • Discover and implement coding best practices using MicroProfile

Who this book is for

If you're a Java developer who wants to create enterprise microservices, this book is for you. Familiarity with Java EE and the concept of microservices will help you get the most out of this book.

商品描述(中文翻譯)

主要特點


  • 使用詳細指南輕鬆創建雲原生微服務

  • 使用Eclipse MicroProfile實現微服務時避免供應商鎖定

  • 發現為什麼MicroProfile是在多雲環境中構建微服務的絕佳規範

書籍描述

Eclipse MicroProfile作為一個多供應商、互操作性、社區驅動的規範,在業界獲得了動力。它是一個重要的破壞者,使得那些在企業Java上投資巨大的組織能夠在不花費大量培訓人員的費用下轉向微服務。

本書基於MicroProfile 2.2,但將指導您在MicroProfile 3.0中運行應用程序。您將首先了解為什麼微服務在數字經濟中很重要,以及MicroProfile如何滿足企業Java微服務的需求。您將了解構成MicroProfile的子項目,以及它對組織和開發人員的價值主張、流程和治理。隨著進一步的學習,本書將帶您深入了解MicroProfile的子項目 - Config、Fault Tolerance、Health Check、JWT Propagation、Metrics和OpenTracing的功能和代碼示例。最後,您將通過使用Eclipse MicroProfile開發一個會議應用程序,並探索MicroProfile與Jakarta EE的可能情景。

通過閱讀本書,您將清楚了解Eclipse MicroProfile及其在企業Java微服務中的作用。

您將學到什麼


  • 了解微服務在數字經濟中的重要性

  • 分析MicroProfile如何滿足企業Java微服務的需求

  • 使用Eclipse MicroProfile測試和保護應用程序

  • 熟悉各種MicroProfile功能,如OpenAPI和Typesafe REST Client

  • 使用MicroProfile Stream和Messaging候選API探索反應式編程

  • 發現並實施使用MicroProfile的編碼最佳實踐

本書適合對象

如果您是一名想要創建企業微服務的Java開發人員,本書適合您。熟悉Java EE和微服務的概念將有助於您充分利用本書的內容。

作者簡介

Cesar Saavedra has been working in the IT industry since 1990 and holds a Master of Science degree in Computer Science and a Master of Business Administration. He has worked as a developer, consultant, technical seller, and technical marketer throughout his career. He currently does technical product marketing for Red Hat JBoss Enterprise Application Platform (EAP), Eclipse MicroProfile, OpenJDK, Quarkus and Jakarta EE. He also manages the technical marketing for the runtimes, integration, BPM and rules management portfolio, and works closely with engineering and product management on thought leadership. Cesar has authored white papers, eBooks, and blogposts, and has been a conference and webinar speaker presenting to customers and partners.

Heiko W. Rupp is an open source enthusiast working for more than a decade at Red Hat in the area of middleware monitoring and management. In this role he has been project lead of the RHQ and Hawkular monitoring systems and has also been contributing to various other projects like Kiali.

Currently he helps defining the next way of Java Microservices with his work on Eclipse MicroProfile. As such he is the spec lead of the Eclipse MicroProfile Metrics effort and also contributing to other specifications. Heiko has written the first German book about JBossAS and one of the first German books on EJB3. He lives with his family in Stuttgart, Germany.

Jeff Mesnil is employed by Red Hat as a Senior Software Engineer and currently, works for JBoss, Red Hat's middleware division, on the WildFly and JBoss EAP application servers. He is a member of the core team in charge of developing the internals of the application servers and lead its messaging subsystem (which provides the JMS API).

Previously, he contributed to the HornetQ messaging broker that was integrated into WildFly and EAP.

He is a proponent of Open Source development and all the code he writes either professionally or privately is available under Open Source licenses, these days, it is mostly hosted on GitHub.

He has a keen interest on messaging systems and wrote several Open Source libraries related to messaging.

Pavol Loffay is Senior Software Engineer at Red Hat. Pavol is working on observability tools for microservice architectures. He is mostly involved in the tracing domain, where he is an active committer on the Jaeger and OpenTracing projects. He is also a member of the OpenTracing Specification Council (OTSC) and a lead for the MicroProfile-OpenTracing specification. He has authored many blog posts and presented at several conferences. In his free time, Pavol likes to climb mountains and ski steep slopes in the Alps.

Antoine Sabot-Durand is a Java Champion who works for Red Hat where he leads the Java EE, now Jakarta EE CDI spec. He is also involved in various projects linked to the CDI ecosystem, MicroProfile, and Jakarta EE. He is also Member of Devoxx France committee. He lives in France with his wife and 3 kids.

Scott Stark started in chemical engineering, got steered into parallel computers as part of his Ph.D. work, and then made software his career, starting with a stint in finance/wall street. He then got into open source with the fledgling JBoss company, working on the application server and Java EE. He has worked with microkernel efforts, IoT efforts, standards, Jakarta EE, Eclipse MicroProfile and Quarkus. He lives in the Pacific Northwest with his wife.

作者簡介(中文翻譯)

Cesar Saavedra自1990年起在IT行業工作,擁有計算機科學碩士學位和工商管理碩士學位。他在職業生涯中擔任過開發人員、顧問、技術銷售員和技術營銷人員的角色。目前,他在Red Hat擔任技術產品營銷工作,負責Red Hat JBoss Enterprise Application Platform(EAP)、Eclipse MicroProfile、OpenJDK、Quarkus和Jakarta EE的技術產品營銷。他還負責運行時、整合、BPM和規則管理產品組合的技術營銷工作,並與工程和產品管理部門密切合作,推動思想領導力。Cesar撰寫了白皮書、電子書和博客文章,並在會議和網絡研討會上向客戶和合作夥伴進行演講。

Heiko W. Rupp是一位熱愛開源的人,已在Red Hat工作超過十年,專注於中間件監控和管理領域。在這個角色中,他擔任了RHQ和Hawkular監控系統的項目負責人,並參與了其他項目(如Kiali)的貢獻。

目前,他通過在Eclipse MicroProfile上的工作,幫助定義Java微服務的未來方向。因此,他是Eclipse MicroProfile Metrics努力的規範負責人,並參與其他規範的貢獻。Heiko撰寫了關於JBossAS的第一本德語書籍,以及關於EJB3的德語書籍之一。他與家人居住在德國斯圖加特。

Jeff Mesnil是Red Hat的高級軟件工程師,目前在JBoss(Red Hat的中間件部門)工作,負責WildFly和JBoss EAP應用服務器。他是負責開發應用服務器內部組件的核心團隊成員,並領導其消息子系統(提供JMS API)。

此前,他曾為HornetQ消息代理做出貢獻,該代理已集成到WildFly和EAP中。

他是開源開發的支持者,他所撰寫的所有代碼,無論是專業還是私人的,都在開源許可證下可用,現在大部分代碼都托管在GitHub上。

他對消息系統非常感興趣,並編寫了幾個與消息相關的開源庫。

Pavol Loffay是Red Hat的高級軟件工程師,致力於微服務架構的可觀察性工具。他主要參與追蹤領域的工作,是Jaeger和OpenTracing項目的活躍貢獻者。他還是OpenTracing Specification Council(OTSC)的成員,並且是MicroProfile-OpenTracing規範的負責人。他撰寫了許多博客文章,並在多個會議上發表演講。在空閒時間,Pavol喜歡攀登阿爾卑斯山脈的陡峭斜坡。

Antoine Sabot-Durand是一位Java Champion,他在Red Hat工作,領導Java EE(現在是Jakarta EE)的CDI規範。他還參與與CDI生態系統、MicroProfile和Jakarta EE相關的各種項目。他還是Devoxx France委員會的成員。他與妻子和三個孩子居住在法國。

Scott Stark起初從事化學工程,作為博士研究的一部分,轉向並將軟件作為他的職業,最初在金融/華爾街工作。然後,他加入了剛成立的JBoss公司,從事應用服務器和Java EE的工作。他參與了微內核努力、物聯網努力、標準、Jakarta EE、Eclipse MicroProfile和Quarkus。他與妻子居住在太平洋西北地區。

目錄大綱

  1. Introduction to Eclipse Microprofile
  2. Governance and Contributions
  3. MicroProfile Config and Fault Tolerance APIs/capabilities
  4. MicroProfile Health Check and JWT Propagation
  5. MicroProfile Metrics and Open Tracing APIs/capabilities
  6. MicroProfile OpenAPI and Typesafe REST Client
  7. Implementing and Developing Conference Application through Eclipse MicroProfile
  8. A Working Eclipse MicroProfile Code Sample
  9. Reactive Programming and Future Developments
  10. MicroProfile in Multi-cloud Environments

目錄大綱(中文翻譯)

- Eclipse Microprofile 簡介
- 治理和貢獻
- MicroProfile Config 和 Fault Tolerance API/功能
- MicroProfile Health Check 和 JWT 傳遞
- MicroProfile Metrics 和 Open Tracing API/功能
- MicroProfile OpenAPI 和 Typesafe REST Client
- 透過 Eclipse MicroProfile 實現和開發會議應用程式
- 一個可運行的 Eclipse MicroProfile 程式碼範例
- 反應式編程和未來發展
- MicroProfile 在多雲環境中的應用