万本电子书0元读

万本电子书0元读

顶部广告

Hands-On Cloud-Native Microservices with Jakarta EE电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Luigi Fugaro

出  版  社:Packt Publishing

出版时间:2019-01-31

字       数:41.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Discover how cloud-native microservice architecture helps you to build dynamically scalable applications by using the most widely used and adopted runtime environments Key Features * Build robust cloud-native applications using a variety of tools * Understand how to configure both Amazon Web Services (AWS) and Docker clouds for high availability * Explore common design patterns used in building and deploying microservices architecture. Book Description Businesses today are evolving rapidly, and developers now face the challenge of building applications that are resilient, flexible, and native to the cloud. To achieve this, you'll need to be aware of the environment, tools, and resources that you're coding against. The book will begin by introducing you to cloud-native architecture and simplifying the major concepts. You'll learn to build microservices in Jakarta EE using MicroProfile with Thorntail and Narayana LRA. You'll then delve into cloud-native application x-rays, understanding the MicroProfile specification and the implementation/testing of microservices. As you progress further, you'll focus on continuous integration and continuous delivery, in addition to learning how to dockerize your services. You'll also cover concepts and techniques relating to security, monitoring, and troubleshooting problems that might occur with applications after you've written them. By the end of this book, you will be equipped with the skills you need to build highly resilient applications using cloud-native microservice architecture. What you will learn * Integrate reactive principles in MicroProfile microservices architecture * Explore the 12-factors-app paradigm and its implications * Get the best out of Java versions 8 and 9 to implement a microservice based on Thorntail * Understand what OpenShift is and why it is so important for an elastic architecture * Build a Linux container image using Docker and scale the application using Kubernetes * Implement various patterns such as, Circuit Breaker and bulkheads * Get to grips with the DevOps methodology using continuous integration (CI) and continuous deployment (CD) Who this book is for This book is for developers with basic knowledge of Java EE and HTTP-based application principles who want to learn how to build, test and scale Java EE microservices. No prior experience of writing microservices in Java EE is required.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部