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

Adding a JDBC 4 driver module


First of all, we need to download the JDBC 4-compliant driver from the database vendor site. In our case, as previously mentioned, our database is a MySQL 5 server, so we will download the MySQL 5 connector from the following site: https://dev.mysql.com/downloads/connector/j/.

In case you need the direct link to the bundle, visit the following link: https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.zip.

Now extract the archive and open the JBoss EAP 7 CLI, as follows:

unzip /opt/rh/mysql-connector-java-5.1.38.zip -d /tmp
cd $JBOSS_HOME
./bin/jboss-cli.sh
module add --name=com.mysql --slot=main --resources=/tmp/mysql- connector-java-5.1.38/mysql-connector-java-5.1.38-bin.jar --dependencies=javax.api,javax.transaction.api

This will automatically create the path folder com/mysql under the modules folder of $JBOSS_HOME, and it will also copy the resource mysql-connector-java-5.1.38-bin.jar into it.

Additionally, a module.xml file descriptor...

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