Book Image

JBoss: Developer's Guide

By : Elvadas Nono Woguia
Book Image

JBoss: Developer's Guide

By: Elvadas Nono Woguia

Overview of this book

Have you often wondered what is the best JBoss product to solve a specific problem? Do you want to get started with a specific JBoss product and know how to integrate different JBoss products in your IT Systems? Then this is the book for you. Through hands-on examples from the business world, this guide presents details on the major products and how you can build your own Enterprise services around the JBoss ecosystem. Starting with an introduction to the JBoss ecosystem, you will gradually move on to developing and deploying clustered application on JBoss Application Server, and setting up high availability using undertow or HA proxy loadbalancers. As you are moving to a micro service archicture, you will be taught how to package existing Java EE applications as micro service using Swarm or create your new micro services from scratch by coupling most popular Java EE frameworks like JPA, CDI with Undertow handlers. Next, you will install and configure JBoss Data grid in development and production environments, develop cache based applications and aggregate various data source in JBoss data virtualization. You will learn to build, deploy, and monitor integration scenarios using JBoss Fuse and run both producers/consumers applications relying on JBoss AMQ. Finally, you will learn to develop and run business workflows and make better decisions in your applications using Drools and Jboss BPM Suite Platform.
Table of Contents (10 chapters)

Installation and configuration

For the next steps, we will work with JBoss EAP 7.0. We will also assume that you have a working JDK 8 installed. In the following section, we will interchangeably use WildFly, the JBoss Application Server (JBoss AS), and JBoss EAP to refer to the same notion. JBoss AS can be started in the standalone or domain modes.
The simplest way to install EAP 7.0 is to pick the ZIP archive on Red Hat customer portal and unzip it on your computer in a specific location. Here's the command to do that:

$ unzip jboss-eap-7.0.0.zip -d $HOME/books/jbossdev/installs

Start the server using the following commands:

$ export EAP_HOME=$HOME/books/jbossdev/installs/jboss-eap-7.0
$ cd $EAP_HOME/bin
$ ./standalone.sh

The JBoss Application Server can start services concurrently, only when needed, or on demand; making the initial boot process faster, non-critical services...