Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering JBoss Enterprise Application Platform 7
  • Toc
  • feedback
Mastering JBoss Enterprise Application Platform 7

Mastering JBoss Enterprise Application Platform 7

By : Marchioni, Luigi Fugaro
3.7 (3)
close
Mastering JBoss Enterprise Application Platform 7

Mastering JBoss Enterprise Application Platform 7

3.7 (3)
By: 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 (15 chapters)
close

Creating your Docker images

So far we have used a pre-built image with an operating system image. We will now show you how to create your own Docker image, containing EAP 7 and its required dependencies, such as the JDK environment.

In order to do that, we will use a Dockerfile, which is a text file that contains all the commands needed in order to build a specific image.

Note

The available set of commands are described in depth in the site's documentation: https://docs.docker.com/engine/reference/builder/.

Here we will discuss the set of commands required to create an EAP 7 image: create a file named Dockerfile and include the following content:

### Set the base image  
FROM jboss/base-jdk:8 
 
### File Author / Maintainer 
MAINTAINER "Francesco Marchioni" "[email protected]" 
 
### Install EAP 7.0.0 
ADD build/jboss-eap-7.0.0.zip /tmp/ 
RUN unzip /tmp/jboss-eap-7.0.0.zip 
 
### Set Environment 
ENV JBOSS_HOME /opt/jboss/jboss-eap-7.0 
 
### Create EAP User 
RUN ...
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete