Book description
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
Table of contents
- Cover
- Front Matter
- 1. Jakarta EE, MicroProfile, Payara, and the Cloud
- 2. Developing Microservices Using Payara Micro
- 3. Developing Microservice Clients
- 4. Contexts and Dependency Injection
- 5. Application Configuration
- 6. Metrics
- 7. High Availability and Fault Tolerance
- 8. Health Checks
- 9. Request Tracing
- 10. Documenting Web Services
- 11. Security with JSON Web Tokens
- 12. Payara Micro Specific Features
- 13. Payara Cloud
- Back Matter
Product information
- Title: Payara Micro Revealed: Cloud-Native Application Development with Java
- Author(s):
- Release date: April 2022
- Publisher(s): Apress
- ISBN: 9781484281611
You might also like
book
Pro Jakarta Persistence in Jakarta EE 10: An In-Depth Guide to Persistence in Enterprise Java Development
Learn to use the Jakarta Persistence API and other related APIs as found in the Jakarta …
book
Beginning Jakarta EE Web Development: Using JSP, JSF, MySQL, and Apache Tomcat for Building Java Web Applications
Start building Java-based web applications now, even if you’re a complete newcomer to Java. Comprehensive and …
book
Beginning Jakarta EE: Enterprise Edition for Java: From Novice to Professional
Build Java-based enterprise applications using the open source Eclipse Jakarta EE platform. This feature-packed book teaches …
book
Java EE to Jakarta EE 10 Recipes: A Problem-Solution Approach for Enterprise Java
Take a problem-solution approach for programming enterprise Java or Java EE applications and microservices for cloud-based …