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

Using the CLI


Within the CLI shell, there is a common and useful way to obtain the list of available commands and resources: the Tab key.

By hitting the Tab key on your keyboard, you can see all available commands and resources, with regard to the current context/resource you are in.

But first, let's define a resource for you.

Everything manageable is exposed via a tree of addressable resources. Resources expose attributes and operations. The concept is very similar to JMX Open MBeans, but note the following:

  • Resources are organized in a tree

  • Atomic multi-step operations are supported

  • Operations across servers are supported

Hit the Tab key to see all the available commands and resources, as shown in the screenshot here:

The Tab key is also used for auto completion of commands and parameters.

You can navigate through the resources, as you would do with your filesystem, by invoking the cd command followed by the resource name, as depicted here:

As you can see from the previous example, the Tab key...