Book Image

Mastering JBoss Enterprise Application Platform 7

By : Francesco Marchioni, Luigi Fugaro
Book Image

Mastering JBoss Enterprise Application Platform 7

By: Francesco Marchioni, Luigi Fugaro

Overview of this book

The JBoss Enterprise Application Platform (EAP) has been one of the most popular tools for Java developers to create modular, cloud-ready, and modern applications. It has achieved a reputation for architectural excellence and technical savvy, making it a solid and efficient environment for delivering your applications. The book will first introduce application server configuration and the management instruments that can be used to control the application server. Next, the focus will shift to enterprise solutions such as clustering, load balancing, and data caching; this will be the core of the book. We will also discuss services provided by the application server, such as database connectivity and logging. We focus on real-world example configurations and how to avoid common mistakes. Finally, we will implement the knowledge gained so far in terms of Docker containers and cloud availability using RedHat's OpenShift.
Table of Contents (20 chapters)
Mastering JBoss Enterprise Application Platform 7
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Creating an advanced domain


The basic domain configuration is a good exercise for learning the domain's main actors and their responsibilities. In real-world scenarios you will need to create domain configurations that span multiple hosts, providing redundancy of the services across different hosts. Also, it would be recommended to use the domain controller just as the management platform of your domain, thus removing the application server from its installation.

Based on these assumptions we will arrange the following domain, which consists of three EAP 7 host controllers, one of them elected as domain controller:

The Command Line Interface will be used to create the domain, starting from a vanilla server installation. As proof of concept, we will include also the generated XML configuration.

Building up your domain

For the purpose of this example, we will install our domain on a single machine. Later on in this book, we will discuss a more complex configuration where each host controller...