We all know the benefits of unit testing. They are simple and run immediately. They isolate the components of your application and allow you to test them one by one, providing the coverage of each component's usage scenarios.
Unfortunately, unit tests have their shortcomings too. When you cover your application with unit tests, they will confirm that each component of your application works correctly. Obviously, based only on that information, you cannot deduce that your whole application works correctly—that is a reason to have integration tests. You have to test your components inside the environment in which they will operate to ensure that the application works correctly as a whole.
The problem with integration tests so far has been that they tend to be complicated to configure and took a long time to execute. Here is where Arquillian steps...
Hands-On Cloud Development with WildFly
By :
Hands-On Cloud Development with WildFly
By:
Overview of this book
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 microservices 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 functional example application and will have practical knowledge of Java EE cloud development that can be used as a reference in your other projects.
Table of Contents (14 chapters)
Preface
Free Chapter
Java EE and Modern Architectural Methodologies
Getting Familiar with WildFly Swarm
Right-Sizing Your Services
Tuning the Configuration of Your Services
Testing Your Services with Arquillian
Deploying Applications on the Cloud with OpenShift
Configuring Storage for Your Applications
Scaling and Connecting Your Services
Configuring Continuous Integration Using Jenkins
Providing Security Using Keycloak
Adding Resilience Using Hystrix
Future Direction
Other Books You May Enjoy
Customer Reviews