Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Enterprise Java Microservices with Eclipse MicroProfile

You're reading from   Hands-On Enterprise Java Microservices with Eclipse MicroProfile Build and optimize your microservice architecture with Java

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781838643102
Length 256 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (6):
Arrow left icon
Scott Stark Scott Stark
Author Profile Icon Scott Stark
Scott Stark
Pavol Loffay Pavol Loffay
Author Profile Icon Pavol Loffay
Pavol Loffay
Heiko W. Rupp Heiko W. Rupp
Author Profile Icon Heiko W. Rupp
Heiko W. Rupp
Antoine Sabot-Durand Antoine Sabot-Durand
Author Profile Icon Antoine Sabot-Durand
Antoine Sabot-Durand
Cesar Saavedra Cesar Saavedra
Author Profile Icon Cesar Saavedra
Cesar Saavedra
Jeff Mesnil Jeff Mesnil
Author Profile Icon Jeff Mesnil
Jeff Mesnil
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: MicroProfile in the Digital Economy
2. Introduction to Eclipse MicroProfile FREE CHAPTER 3. Governance and Contributions 4. Section 2: MicroProfile's Current Capabilities
5. MicroProfile Config and Fault Tolerance 6. MicroProfile Health Check and JWT Propagation 7. MicroProfile Metrics and OpenTracing 8. MicroProfile OpenAPI and Type-Safe REST Client 9. Section 3: MicroProfile Implementations and Roadmap
10. MicroProfile Implementations, Quarkus, and Interoperability via the Conference Application 11. Section 4: A Working MicroProfile Example
12. A Working Eclipse MicroProfile Code Sample 13. Section 5: A Peek into the Future
14. Reactive Programming and Future Developments 15. Using MicroProfile in Multi-Cloud Environments 16. Assessments 17. Other Books You May Enjoy

Chapter 6

  1. No: by default, any REST endpoint will have OpenAPI generated for it even if none of the MP OpenAPI annotations are used.
  2. Yes: you can choose to use as many or as few of the MP OpenAPI annotations as you wish, to represent the REST endpoints in your microservice.
  3. The notion is that you predefine the expected contracts of your endpoints and encapsulate these in OpenAPI documents that can be bundled with your microservice.
  4. No: you just need to know what the formats of the request and response are, and then you can create your own type-safe interface.
  5. By using the .../mp-rest/url MP Config setting, where ... is either the interface name of the type-safe interface or the configKey passed to the RegisterRestClient annotation.
  6. One way is to register a ClientHeadersFactory implementation. Another is to list the headers in the org.eclipse.microprofile.rest.client.propagateHeaders...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime