Hands-On Cloud:Native Microservices with Jakarta EE
Luigi Fugaro Mauro Vocale更新时间:2021-07-02 13:47:40
最新章节:Leave a review - let other readers know what you thinkcoverpage
Title Page
Copyright and Credits
Hands-On Cloud-Native Microservices with Jakarta EE
Contributors
About the authors
About the reviewer
Packt is searching for authors like you
About Packt
Why subscribe?
Packt.com
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Jakarta EE - the New Open Source Life of Java EE
Open source
The Java programming language
Sun Microsystems
Oracle Corporation
Eclipse Foundation
OpenJDK 9 and 10 – key features for cloud environments
JDK 9
JDK 10
Java EE – MicroProfile.io – Jakarta EE
MicroProfile
Jakarta EE
Summary
Microservices and Reactive Architecture
MicroProfile and the principles of MSA
What are microservices?
Benefits of microservices
Drawbacks of microservices
SOA versus MSA
Differences between MSAs and SOAs
From monolith to microservices
What is a monolith?
Migration path
Reactive systems and reactive programming
Reactive systems
Reactive programming
RxJava
Spring WebFlux and reactive stacks
Vert.x
Reactive Java EE monolith
Asynchronous processing
Messaging communications
Summary
Cloud-Native Applications
Twelve-factor applications
Code base
Dependencies
Config
Backing services
Build release run
Processes
Port binding
Concurrency
Disposability
Development/production parity
Logs
Admin processes
Security
Microservices
Runtime environments
Spring Boot
Thorntail
Vert.x
Verticles
Event bus
Summary
Building Microservices Using Thorntail
Thorntail
Fractions
Flexible configuration
Building a fantasy football application
The football player microservice
Database installation and configuration
Creating the source code
Entity class – JPA
RESTful web service – JAX-RS and CDI
The football manager microservice
Database installation and configuration
Creating the source code
Entity class – JPA
RESTful web service – JAX-RS and CDI
The football team microservice
Database installation and configuration
Creating the source code
The user interface microservice
Building a user interface
Summary
Eclipse MicroProfile and Transactions - Narayana LRA
Transactions
ACID properties
Transaction managers
JTA
JTS
Extended architecture
Consensus protocol
2PC protocol
3PC protocol
The Paxos consensus
Transactions in microservices architecture
The saga pattern
Saga implementations
The Axon framework
Eventuate
Eventuate ES
Eventuate Tram
MicroProfile LRA
The football market microservice
LRA coordinator
Football-player-microservice-lra
Football-player-offer-microservice-lra
Football-player-market-microservice-lra
Initialize
The LRA business method
The complete phase
The compensate phase
Football_Player_Market_client
Limitations
Summary
Linux Containers
Linux Containers
Cgroups
Namespaces
SELinux
Containers
Docker
football-player-microservice
football-player-ui
Kubernetes
Summary
Platform as a Service
An introduction to OpenShift
OpenShift for developers
OpenShift for operations
OKD
Installing OKD
The OpenShift client
Managing a local OpenShift cluster
Templates
Networking
Services
Routes
Monitoring
Summary
Microservices Patterns
Decomposition
How do you decompose an application?
By functionality
By integration
By resource consumption
Serverless
API gateway
Bulkhead
Circuit breaker
Istio
Sidecar
Summary
Deployment
Continuous integration and continuous delivery
What's the difference between CI CD and CD?
Blue-green deployment
Canary deployment
A/B testing deployment
Rolling deployment
Summary
Monitoring
Prometheus
Installing Prometheus
Node-exporter
Installing Node-exporter
Grafana
Installing Grafana
Summary
Building Microservices Using Spring Boot 2
Spring Boot
Maven settings
Gradle settings
Upgrading from an earlier version of Spring Boot
Building Spring Boot microservices
Project details
Database installation and configuration
Creating the source code
Entity class – JPA
Repository – JPA
The RESTful web service
Swagger documentation and OpenAPI
Building Microservices Using Vert.X
Vert.x
Maven settings
Gradle settings
Building a football player microservice
Project details
Database installation and configuration
Creating the source code
The data access layer
The RESTful web service
Creating the test code
The football player microservice – Vert.x + RxJava
Other Books You May Enjoy
Leave a review - let other readers know what you think
更新时间:2021-07-02 13:47:40