首頁 > 計(jì)算機(jī)網(wǎng)絡(luò) > 網(wǎng)絡(luò)與通信 > Hands-On Enterprise Java Microservices with Eclipse MicroProfile
舉報(bào)

會(huì)員
Hands-On Enterprise Java Microservices with Eclipse MicroProfile
Cesar Saavedra Heiko W. Rupp Jeff Mesnil Pavol Loffay Antoine Sabot Durand Scott Stark 著
更新時(shí)間:2021-06-24 12:56:52
開會(huì)員,本書免費(fèi)讀 >
EclipseMicroProfilehasgainedmomentumintheindustryasamulti-vendor,interoperable,community-drivenspecification.ItisamajordisruptorthatallowsorganizationswithlargeinvestmentsinenterpriseJavatomovetomicroserviceswithoutspendingalotonretrainingtheirworkforce.ThisbookisbasedonMicroProfile2.2,however,itwillguideyouinrunningyourapplicationsinMicroProfile3.0.You'llstartbyunderstandingwhymicroservicesareimportantinthedigitaleconomyandhowMicroProfileaddressestheneedforenterpriseJavamicroservices.You'lllearnaboutthesubprojectsthatmakeupaMicroProfile,itsvaluepropositiontoorganizationsanddevelopers,anditsprocessesandgovernance.Asyouadvance,thebooktakesyouthroughthecapabilitiesandcodeexamplesofMicroProfile’ssubprojects-Config,FaultTolerance,HealthCheck,JWTPropagation,Metrics,andOpenTracing.Finally,you’llbeguidedindevelopingaconferenceapplicationusingEclipseMicroProfile,andexplorepossiblescenariosofwhat’snextinMicroProfilewithJakartaEE.Bytheendofthisbook,you'llhavegainedaclearunderstandingofEclipseMicroProfileanditsroleinenterpriseJavamicroservices.
最新章節(jié)
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Chapter 10
- Chapter 9
- Chapter 8
- Chapter 7
品牌:中圖公司
上架時(shí)間:2021-06-24 12:09:24
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Leave a review - let other readers know what you think 更新時(shí)間:2021-06-24 12:56:52
- Other Books You May Enjoy
- Chapter 10
- Chapter 9
- Chapter 8
- Chapter 7
- Chapter 6
- Chapter 5
- Chapter 4
- Chapter 3
- Chapter 2
- Chapter 1
- Assessments
- Questions
- Summary
- Conclusion
- Fault injection in the service mesh
- Fallback
- Retry
- Considerations when using Eclipse MicroProfile in a service mesh
- Challenges when using MicroProfile OpenTracing in a multi-cloud deployment
- Considerations when using MicroProfile in a hybrid cloud deployment
- Bare-metal machines versus VMs versus containers
- Developing and running MicroProfile applications across clouds
- Cloud-native application development
- What about serverless and FaaS?
- What about 12-factor applications?
- Microservices versus cloud native versus container native
- Using Eclipse MicroProfile for cloud-native application development
- Using MicroProfile in Multi-Cloud Environments
- Further reading
- Questions
- Summary
- Eclipse MicroProfile and Jakarta EE
- MicroProfile Boost
- Projects in the sandbox
- GraphQL and databases
- Differences between GraphQL and REST
- GraphQL
- Context Propagation
- Long Running Actions
- Projects outside the umbrella
- MicroProfile future developments
- MicroProfile reactive messaging examples
- MicroProfile Context Propagation
- MicroProfile Reactive Streams operators
- Message shapes
- MicroProfile reactive messaging architecture
- An overview of Reactive Messaging
- Reactive programming work in Eclipse MicroProfile
- Reactive Programming and Future Developments
- Section 5: A Peek into the Future
- Further reading
- Questions
- Summary
- The RestClient tab
- The JWT tab
- The KeyCloak tab
- The OpenAPI tab
- The OpenTracing tab
- The Metrics tab
- The Health tab
- The Config tab
- Details of the sample application
- The web shell command
- The Svcs2 shell command
- The Svcs1 shell command
- The Docker shell commands
- Running the sample application
- Sample architecture of a multiservice MicroProfile application
- Technical requirements
- A Working Eclipse MicroProfile Code Sample
- Section 4: A Working MicroProfile Example
- Questions
- Summary
- MicroProfile interoperability – the conference application
- How to quark a generated MicroProfile project
- Quarkus
- Other projects that implement MicroProfile
- Generating sample code for the current implementations
- Helidon
- Launcher
- KumuluzEE
- Hammock
- Payara Micro
- Apache TomEE
- Open Liberty
- Thorntail
- Current MicroProfile implementations
- MicroProfile Implementations Quarkus and Interoperability via the Conference Application
- Section 3: MicroProfile Implementations and Roadmap
- Questions
- Summary
- Async support
- Default exception mapping
- Exception mapping
- Default providers
- Feature registration
- Provider priority
- Provider registration for advanced usage
- Dealing with client headers
- Simplifying configuration keys
- MicroProfile Config integration
- MicroProfile REST Client CDI usage
- MicroProfile REST Client programmatic API usage
- Defining the endpoint Interface
- Introduction to the MicroProfile REST Client and its capabilities
- Using a filter for updates
- Programming model
- Static OpenAPI files
- Usage examples
- MicroProfile OpenAPI annotations
- Generating the OpenAPI document
- Configuration
- Introduction to MicroProfile OpenAPI and its capabilities
- MicroProfile OpenAPI and Type-Safe REST Client
- Questions
- Summary
- Tracing with Jaeger
- Tracer injection
- @Traced annotation
- Explicit instrumentation
- MicroProfile Rest Client
- JAX-RS
- Automatic instrumentation
- Configuration properties
- OpenTracing project
- MicroProfile OpenTracing
- Changes in data output format
- Tagging
- Change for counters – introducing ConcurrentGauge
- New in MP-Metrics 2.0
- Using Prometheus to retrieve metrics
- Per-metrics tags
- Server-wide tags
- Tagging
- Timers
- Histograms
- Meter
- Gauges
- More types of metric
- Supplying application-specific metrics
- Accessing specific scopes
- Retrieving metrics from the server
- Metadata
- MicroProfile Metrics
- MicroProfile Metrics and OpenTracing
- Questions
- Summary
- Running the samples
- Configuring authentication of JWTs
- Injection of JWT claim values
- Injection of JsonWebToken information
- Sample code that uses MP-JWT
- The high-level description of the MP-JWT API
- Required MP-JWT claims
- Recommendations for interoperability
- Using JSON Web Token Propagation in MicroProfile
- Changes in Health Check response messages
- Human operators
- Integration with the cloud platform
- The Health Check Java API
- The Health Check protocol and wire format
- Understanding health checks and how MicroProfile handles them
- Technical requirements
- MicroProfile Health Check and JWT Propagation
- Further reading
- Questions
- Summary
- Tolerance with MicroProfile config
- The @Bulkhead policy
- The @CircuitBreaker policy
- The @Timeout policy
- The @Fallback policy
- The @Retry policy
- The @Asynchronous policy
- MicroProfile Fault Tolerance in action
- Understanding Eclipse MicroProfile Fault Tolerance
- Custom converters
- Automatic converters
- Built-in converters
- Using converters for high-level configuration
- Custom ConfigSources implementations
- Default ConfigSources
- Providing sources of configuration
- The @ConfigProperty annotation
- The Config object
- Reading configuration from the MicroProfile Config API
- Understanding Eclipse MicroProfile Config
- MicroProfile Config and Fault Tolerance
- Section 2: MicroProfile's Current Capabilities
- Questions
- Summary
- A quick tour of MicroProfile Starter
- MicroProfile Starter
- Umbrella releases versus projects outside the umbrella
- Sandbox approach to open contribution
- Current Eclipse MicroProfile governance
- Governance and Contributions
- Questions
- Summary
- MicroProfile value proposition
- Introducing Eclipse MicroProfile
- Multi-speed IT
- Forces that fuel the digital economy
- Enterprise Java microservices
- Introduction to Eclipse MicroProfile
- Section 1: MicroProfile in the Digital Economy
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewers
- About the authors
- Contributors
- Why subscribe?
- About Packt
- Hands-On Enterprise Java Microservices with Eclipse MicroProfile
- Copyright and Credits
- Title Page
- coverpage
- coverpage
- Title Page
- Copyright and Credits
- Hands-On Enterprise Java Microservices with Eclipse MicroProfile
- About Packt
- Why subscribe?
- Contributors
- About the authors
- About the reviewers
- Packt is searching for authors like you
- 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
- Section 1: MicroProfile in the Digital Economy
- Introduction to Eclipse MicroProfile
- Enterprise Java microservices
- Forces that fuel the digital economy
- Multi-speed IT
- Introducing Eclipse MicroProfile
- MicroProfile value proposition
- Summary
- Questions
- Governance and Contributions
- Current Eclipse MicroProfile governance
- Sandbox approach to open contribution
- Umbrella releases versus projects outside the umbrella
- MicroProfile Starter
- A quick tour of MicroProfile Starter
- Summary
- Questions
- Section 2: MicroProfile's Current Capabilities
- MicroProfile Config and Fault Tolerance
- Understanding Eclipse MicroProfile Config
- Reading configuration from the MicroProfile Config API
- The Config object
- The @ConfigProperty annotation
- Providing sources of configuration
- Default ConfigSources
- Custom ConfigSources implementations
- Using converters for high-level configuration
- Built-in converters
- Automatic converters
- Custom converters
- Understanding Eclipse MicroProfile Fault Tolerance
- MicroProfile Fault Tolerance in action
- The @Asynchronous policy
- The @Retry policy
- The @Fallback policy
- The @Timeout policy
- The @CircuitBreaker policy
- The @Bulkhead policy
- Tolerance with MicroProfile config
- Summary
- Questions
- Further reading
- MicroProfile Health Check and JWT Propagation
- Technical requirements
- Understanding health checks and how MicroProfile handles them
- The Health Check protocol and wire format
- The Health Check Java API
- Integration with the cloud platform
- Human operators
- Changes in Health Check response messages
- Using JSON Web Token Propagation in MicroProfile
- Recommendations for interoperability
- Required MP-JWT claims
- The high-level description of the MP-JWT API
- Sample code that uses MP-JWT
- Injection of JsonWebToken information
- Injection of JWT claim values
- Configuring authentication of JWTs
- Running the samples
- Summary
- Questions
- MicroProfile Metrics and OpenTracing
- MicroProfile Metrics
- Metadata
- Retrieving metrics from the server
- Accessing specific scopes
- Supplying application-specific metrics
- More types of metric
- Gauges
- Meter
- Histograms
- Timers
- Tagging
- Server-wide tags
- Per-metrics tags
- Using Prometheus to retrieve metrics
- New in MP-Metrics 2.0
- Change for counters – introducing ConcurrentGauge
- Tagging
- Changes in data output format
- MicroProfile OpenTracing
- OpenTracing project
- Configuration properties
- Automatic instrumentation
- JAX-RS
- MicroProfile Rest Client
- Explicit instrumentation
- @Traced annotation
- Tracer injection
- Tracing with Jaeger
- Summary
- Questions
- MicroProfile OpenAPI and Type-Safe REST Client
- Introduction to MicroProfile OpenAPI and its capabilities
- Configuration
- Generating the OpenAPI document
- MicroProfile OpenAPI annotations
- Usage examples
- Static OpenAPI files
- Programming model
- Using a filter for updates
- Introduction to the MicroProfile REST Client and its capabilities
- Defining the endpoint Interface
- MicroProfile REST Client programmatic API usage
- MicroProfile REST Client CDI usage
- MicroProfile Config integration
- Simplifying configuration keys
- Dealing with client headers
- Provider registration for advanced usage
- Provider priority
- Feature registration
- Default providers
- Exception mapping
- Default exception mapping
- Async support
- Summary
- Questions
- Section 3: MicroProfile Implementations and Roadmap
- MicroProfile Implementations Quarkus and Interoperability via the Conference Application
- Current MicroProfile implementations
- Thorntail
- Open Liberty
- Apache TomEE
- Payara Micro
- Hammock
- KumuluzEE
- Launcher
- Helidon
- Generating sample code for the current implementations
- Other projects that implement MicroProfile
- Quarkus
- How to quark a generated MicroProfile project
- MicroProfile interoperability – the conference application
- Summary
- Questions
- Section 4: A Working MicroProfile Example
- A Working Eclipse MicroProfile Code Sample
- Technical requirements
- Sample architecture of a multiservice MicroProfile application
- Running the sample application
- The Docker shell commands
- The Svcs1 shell command
- The Svcs2 shell command
- The web shell command
- Details of the sample application
- The Config tab
- The Health tab
- The Metrics tab
- The OpenTracing tab
- The OpenAPI tab
- The KeyCloak tab
- The JWT tab
- The RestClient tab
- Summary
- Questions
- Further reading
- Section 5: A Peek into the Future
- Reactive Programming and Future Developments
- Reactive programming work in Eclipse MicroProfile
- An overview of Reactive Messaging
- MicroProfile reactive messaging architecture
- Message shapes
- MicroProfile Reactive Streams operators
- MicroProfile Context Propagation
- MicroProfile reactive messaging examples
- MicroProfile future developments
- Projects outside the umbrella
- Long Running Actions
- Context Propagation
- GraphQL
- Differences between GraphQL and REST
- GraphQL and databases
- Projects in the sandbox
- MicroProfile Boost
- Eclipse MicroProfile and Jakarta EE
- Summary
- Questions
- Further reading
- Using MicroProfile in Multi-Cloud Environments
- Using Eclipse MicroProfile for cloud-native application development
- Microservices versus cloud native versus container native
- What about 12-factor applications?
- What about serverless and FaaS?
- Cloud-native application development
- Developing and running MicroProfile applications across clouds
- Bare-metal machines versus VMs versus containers
- Considerations when using MicroProfile in a hybrid cloud deployment
- Challenges when using MicroProfile OpenTracing in a multi-cloud deployment
- Considerations when using Eclipse MicroProfile in a service mesh
- Retry
- Fallback
- Fault injection in the service mesh
- Conclusion
- Summary
- Questions
- Assessments
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時(shí)間:2021-06-24 12:56:52