Skip to main content
  • Book
  • © 2022

Payara Micro Revealed

Cloud-Native Application Development with Java

Apress
  • Covers Payara-specific features that Jakarta EE and MicroProfile developers should know
  • Presents standard Jakarta EE and MicroProfile APIs
  • Includes Payara application configuration using the well-known and standard tools Maven and Gradle
  • 4396 Accesses

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xiii
  2. Jakarta EE, MicroProfile, Payara, and the Cloud

    • David R. Heffelfinger
    Pages 1-5
  3. Developing Microservices Using Payara Micro

    • David R. Heffelfinger
    Pages 7-21
  4. Developing Microservice Clients

    • David R. Heffelfinger
    Pages 23-40
  5. Contexts and Dependency Injection

    • David R. Heffelfinger
    Pages 41-61
  6. Application Configuration

    • David R. Heffelfinger
    Pages 63-99
  7. Metrics

    • David R. Heffelfinger
    Pages 101-120
  8. High Availability and Fault Tolerance

    • David R. Heffelfinger
    Pages 121-145
  9. Health Checks

    • David R. Heffelfinger
    Pages 147-153
  10. Request Tracing

    • David R. Heffelfinger
    Pages 155-172
  11. Documenting Web Services

    • David R. Heffelfinger
    Pages 173-189
  12. Security with JSON Web Tokens

    • David R. Heffelfinger
    Pages 191-203
  13. Payara Micro Specific Features

    • David R. Heffelfinger
    Pages 205-219
  14. Payara Cloud

    • David R. Heffelfinger
    Pages 221-231
  15. Back Matter

    Pages 233-236

About this book

Develop, configure, and deploy Java cloud-native applications using Payara Micro. This book demystifies Java cloud-native application development using standard Microprofile APIs and covers Payara-specific features such as automatic clustering and application initialization performance improvements. You will learn how to improve startup performance by taking advantage of class data sharing, and configure cloud-native applications via standard development tools such as Maven and Gradle. The book also clarifies how to develop functionality necessary in a cloud environment, such as health checks and request tracing, using MicroProfile APIs.

The book begins by showing how to develop microservices using RESTful web services, followed by how to create microservice clients using MicroProfile and the REST client API. Dependency Injection via Jakarta Context and Dependency Injection (CDI) is also covered. Various approaches to application configuration are covered as well, including property files, environment variables, and system properties. You will learn to configure fault tolerance and high availability, generate system and custom application metrics, and generate health checks to automatically improve overall application health. You will know how to trace the flow of a request across service boundaries with OpenTracing. You will be able to make future maintenance easily through generating documentation, including how to automatically update documentation as your code is updated. Additionally, you will learn how to secure cloud applications and to automatically cluster applications and improve application startup performance.

What You Will Learn

  • Develop microservices using standard Java APIs
  • Implement cloud functionality such as request tracing and health checks
  • Deploy applications as thin archives and as uber archives
  • Configure applications via Maven and Gradle
  • Generate custommetrics for capacity planning and proactive discovery of issues
  • Implement features in support of high availability and fault tolerance
  • Secure your applications with Jason Web Tokens
  • Take advantage of Payara’s own cloud platform for easy deployment

Who This Book Is For

Java developers who wish to develop cloud-native applications and microservices, and Java EE application developers who wish to transition to developing cloud-native applications that are lightweight and easily deployed


Authors and Affiliations

  • Fairfax, USA

    David R. Heffelfinger

About the author

​David Heffelfinger is an independent consultant at Ensode Technology, LLC (ensode.com). He has authored several books on Jakarta EE and related technologies. He is a frequent speaker at tech conferences such as JavaOne and Oracle Code One. David has served on the JavaOne content committee on multiple occasions. He was named one of 39 Java leaders and experts to follow on Twitter, where you can find him under the handle @ensode.

Bibliographic Information

  • Book Title: Payara Micro Revealed

  • Book Subtitle: Cloud-Native Application Development with Java

  • Authors: David R. Heffelfinger

  • DOI: https://doi.org/10.1007/978-1-4842-8161-1

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: David R. Heffelfinger 2022

  • Softcover ISBN: 978-1-4842-8160-4Published: 22 April 2022

  • eBook ISBN: 978-1-4842-8161-1Published: 21 April 2022

  • Edition Number: 1

  • Number of Pages: XIII, 236

  • Number of Illustrations: 24 b/w illustrations

  • Topics: Java

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access