Book Image

JBoss AS 7 Configuration, Deployment and Administration

By : Francesco Marchioni
Book Image

JBoss AS 7 Configuration, Deployment and Administration

By: Francesco Marchioni

Overview of this book

<p>As the Java EE standard has evolved and matured, the API has become increasingly rich and complex. The next generation of application servers needs to be modular and configurable to run only specific services or containers. JBoss AS 7 promises to meet those requirements but the configuration of a complex application server is composed of a mix of administrative and management tasks which often overlap, generating confusion.<br /><br />JBoss AS 7 Configuration, Deployment and Administration will give you an expert's understanding of every component that makes up the JBoss application server, and will show you how to use them, helping you to dramatically cut down the learning curve for this exciting product.<br /><br />This book will guide you through configuration, management, deployment and advanced administration in a logical order to avoid the common pitfalls of setting up a new AS. The book dives into the new application server structure and shows you how to install it. You will learn how to configure the core AS services, including thread pools, the messaging system, and the transaction service. Finally, you will learn how to deploy and manage your applications and then tune the performance of your AS to achieve an efficient, indispensible application server.</p>
Table of Contents (19 chapters)
JBoss AS 7 Configuration, Deployment, and Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring the Infinispan subsystem


One of the requisites of a cluster is that data is synchronized across its members so that, in case of failure of a node, the application and its session can continue on other members of the cluster, also known as High Availability . Like JBoss AS 6, the new AS 7 uses Infinispan as the distributed caching solution behind its clustering functionality. The Infinispan API replaces the earlier JBoss Cache library and can be either used as standalone data-grid platform (using its native implementation), or it can be embedded into the application server.

As we are interested in the latter option, we will quickly have a look at its configuration, which is contained within the main standalone-ha.xml/domain.xml configuration file.

The following is the backbone of the Infinispan configuration:

<subsystem xmlns="urn:jboss:domain:infinispan:1.1" default-cache-container="cluster">
  <cache-container name="cluster" default-cache="default">
    <alias&gt...