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

Managing the server storage


One of the critical aspects of container management relates to the storage. So far we have started and executed a container which could be further enhanced by deploying applications on top of it and eventually adding specific configurations. You might be surprised, however, that when restarting the Docker image the changes you have applied are not included in your image.

This is not a defect of your container- Docker aims to preserve your containers data so that you can, at any time, restart them with minimal overhead. There are, of course, many strategies to handle changes happening to your container data. The cheapest solution could be to use the docker commit command, which as the name suggests, can be used to commit a container's file changes or settings into a new image. You need to provide it the container ID and the image to create (or update).

For example:

 $ sudo docker commit 1b2d77f52f84 packt/eap-7.0:version2

Although useful for development purposes...