Hands-On Cloud Development with WildFly
Create microservices using Java EE technologies with WildFly Swarm,deploy them in the OpenShift cloud, make them resilient to network failures using Hystrix, configure continuous integration using Jenkins, and security using Keycloak.
About This Book
• Create functional microservices with WildFly Swarm
• Use OpenShift to deploy your microservices in the cloud
• Make your application production-ready using Jenkins, Hystrix, and Keycloak
Who This Book Is For
If you’re an experienced developer familiar with Java EE technologies and would like to learn how you can use those technologies in the cloud with WildFly and OpenShift, then this book is for you.
What You Will Learn
• Utilize Java EE technology to develop modern cloud-enabled applications
• Easily create microservices with WildFly Swarm using proven Java EE technologies
• See the benefits of OpenShift – easy deployment of your services, out of the box scalability and healing, and integration with Continuous Integration tools
• Integrate the sample application with Jenkins’ Continuous Integration server
• Utilize Netflix OSS to connect your services and provide resilience to your application
• Provide security to your application using Keycloak
The book starts by introducing you to WildFly Swarm—a tool that allows you to create runnable microservices from Java EE components. You’ll learn the basics of Swarm operation—creating a microservice containing only the parts of enterprise runtime needed in a specific case. Later, you’ll learn how to configure and test those services.
In order to deploy our services in the cloud, we’ll use OpenShift. You’ll get to know basic information on its architecture, features, and relationship to Docker and Kubernetes. Later, you’ll learn how to deploy and configure your services to run in the OpenShift cloud.
In the last part of the book, you’ll see how to make your application production-ready. You’ll find out how to configure continuous integration for your services using Jenkins, make your application resistant to network failures using Hystrix, and how to secure them using Keycloak.
By the end of the book, you’ll have a fully functional example application and will have practical knowledge of Java EE cloud development that can be used as a reference in your other projects.
Style and approach
This example-based tutorial guides you step by step through creating an application based on well-known Java EE technologies (JAX-RS, CDI, JPA, and JSF) and modern architectural patterns.