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

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

Arrow left icon
Profile Icon Saavedra Profile Icon Stark Profile Icon Sabot-Durand Profile Icon Loffay Profile Icon Mesnil Profile Icon Heiko W. Rupp +2 more Show less
Arrow right icon
$17.99 $26.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
eBook Aug 2019 256 pages 1st Edition
eBook
$17.99 $26.99
Paperback
$38.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Saavedra Profile Icon Stark Profile Icon Sabot-Durand Profile Icon Loffay Profile Icon Mesnil Profile Icon Heiko W. Rupp +2 more Show less
Arrow right icon
$17.99 $26.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
eBook Aug 2019 256 pages 1st Edition
eBook
$17.99 $26.99
Paperback
$38.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$17.99 $26.99
Paperback
$38.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

Hands-On Enterprise Java Microservices with Eclipse MicroProfile

Introduction to Eclipse MicroProfile

Eclipse MicroProfile is a set of specifications for microservices written in the Java language. It is a project that is community-driven with many implementations in the market. The project, first announced in June 2016, continues to develop a set of common Application Programming Interfaces (APIs) for implementing Java microservices suitable for modern application development techniques, architectures, and environments. In this chapter, you will learn about the origin and importance of Eclipse MicroProfile.

The following topics will be covered in this chapter:

  • Enterprise Java microservices
  • Forces that fuel the digital economy and the need for multi-speed IT
  • Introducing Eclipse MicroProfile
  • MicroProfile value proposition

Enterprise Java microservices

Application development no longer consists of using a single high-level programming language that runs on your favorite operating system. Nowadays, there are a myriad of languages, specifications, frameworks, proprietary and open source software and tools, underlying deployment infrastructures, and development methodologies that programmers need to learn to develop modern applications. Development at IT organizations has become polyglot, that is, multiple programming languages are used depending on the needs of specific projects. In this age of the cloud, containers, microservices, reactive programming, 12-factor applications, serverless, MINI services, polyglot environments, and so on, developers now have the option to choose the right tool for their task, making them more effective and productive.

With the recent move of Java EE to the Eclipse...

Forces that fuel the digital economy

The terms digital economy and digital transformation describe the convergence of four different forces that are changing the needs of businesses: mobile, cloud, IoT, and open source:

Before the internet, organizations required brick-and-mortar stores or phone lines to conduct their businesses. The advent and accessibility of the internet created a critical category-formation time opportunity for organizations. Businesses started to use the internet mainly as a storefront or display in order to drive people to their brick-and-mortar stores. It was also used for advertising purposes.

Soon after this, businesses began adding the ability to purchase things online, and companies, such as Amazon, realized that they could capitalize on the economies-of-scale, product aggregation, consolidation, recommendation, and pricing optimization that an online...

Introducing Eclipse MicroProfile

Java EE has been an extremely successful platform. The Java Community Process (JCP) has been the steward of over 20 compatible implementations during its nearly 20-year history, resulting in a $4 billion industry. However, the management of Java EE by Oracle (unintentional or not) of Java EE (unintentional or not) stalled innovations, and while other standards have developed, the Java community worldwide and CIOs at all major enterprises desired an open standard for Java within their enterprise.

In its early stages, J2EE grew somewhat quickly from J2EE 1.2 up to J2EE 1.4, as the platform needed to address the immediate requirements of the enterprise. Beginning with Java EE 5 in May 2006, the pace began to slow down as the platform began to mature, and it was 3 years and 6 months between releases. After Java EE 7, which was released on June 12...

MicroProfile value proposition

For customers who trust Enterprise Java to run their production workloads, Eclipse MicroProfile provides customers with a vendor-neutral specification for Enterprise Java microservices. Eclipse MicroProfile enables them to better fulfill the needs of the business via improved agility and scalability, faster time-to-market, higher development productivity, easier debugging and maintenance, and continuous integration and continuous deployment.

The benefits customers get by using Eclipse MicroProfile are the same benefits gained by using microservices. In general, according to Martin Fowler, a respected software developer, author, and speaker, microservices provide the following benefits (https://martinfowler.com/articles/microservice-trade-offs.html):

  • Strong module boundaries: Microservices reinforce modular structure, which is particularly important...

Summary

In this chapter, we have discussed the new trends in software development, consisting of polyglot deployments using new approaches, such as microservices, containers, mobile, and Internet-of-Things (IoT) running on-premises and in the cloud; and in hybrid or multi-cloud environments. These trends required the evolution of Enterprise Java in the microservices world, which is what MicroProfile addresses. The four forces that fuel the digital economy, namely, cloud, mobile, IoT, and open source, have contributed to the need for organizations to have multi-speed IT departments, which are necessary to maintain and evolve their existing applications as well as to take advantage of new technological trends to develop new applications that can help them to remain competitive.

Eclipse MicroProfile, a vendor-neutral specification founded by the community for the community, is one...

Questions

  1. What is an Enterprise Java microservice?
  2. What are the four forces that fuel the digital economy?
  3. Why are IT organizations having to develop and maintain applications at different speeds? What is multi-speed IT?
  4. Why are Java and Java EE still important to organizations?
  5. What was one of the key reasons that caused MicroProfile to come into existence?
  6. What are the APIs/specifications that are part of the MicroProfile umbrella/platform release?
  7. What release of MicroProfile introduced the first revolutionary changes?
  8. Why is MicroProfile valuable to organizations?
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • 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

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.

Who is this book 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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 30, 2019
Length: 256 pages
Edition : 1st
Language : English
ISBN-13 : 9781838644321
Vendor :
Eclipse Foundation
Languages :
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Aug 30, 2019
Length: 256 pages
Edition : 1st
Language : English
ISBN-13 : 9781838644321
Vendor :
Eclipse Foundation
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 98.98
Hands-On Enterprise Java Microservices with Eclipse MicroProfile
$38.99
Hands-On Microservices with Spring Boot and Spring Cloud
$59.99
Total $ 98.98 Stars icon

Table of Contents

17 Chapters
Section 1: MicroProfile in the Digital Economy Chevron down icon Chevron up icon
Introduction to Eclipse MicroProfile Chevron down icon Chevron up icon
Governance and Contributions Chevron down icon Chevron up icon
Section 2: MicroProfile's Current Capabilities Chevron down icon Chevron up icon
MicroProfile Config and Fault Tolerance Chevron down icon Chevron up icon
MicroProfile Health Check and JWT Propagation Chevron down icon Chevron up icon
MicroProfile Metrics and OpenTracing Chevron down icon Chevron up icon
MicroProfile OpenAPI and Type-Safe REST Client Chevron down icon Chevron up icon
Section 3: MicroProfile Implementations and Roadmap Chevron down icon Chevron up icon
MicroProfile Implementations, Quarkus, and Interoperability via the Conference Application Chevron down icon Chevron up icon
Section 4: A Working MicroProfile Example Chevron down icon Chevron up icon
A Working Eclipse MicroProfile Code Sample Chevron down icon Chevron up icon
Section 5: A Peek into the Future Chevron down icon Chevron up icon
Reactive Programming and Future Developments Chevron down icon Chevron up icon
Using MicroProfile in Multi-Cloud Environments Chevron down icon Chevron up icon
Assessments Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(1 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Amazon Customer Sep 29, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is an effective guide to designing, building and deploying enterprise Java microservices with Eclipse MicroProfile. This is easy to understand because the explanation is given clear and the book is very concise. Overall a good book and a must have book.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.