How to code a remote JMS client for WildFly

In this tutorial we will learn how to create a remote JMS connection to a Queue which has been deployed on WildFly application server.  In order to create a remote JMS Connection to an HornetQ server, we need to perform a set of steps. At first we need to deploy the Queue to the JMS … Read more

Configuring mod_jk with WildFly/JBoss AS 7

This tutorial contains an excerpt of the upcoming WilfFly Book which shows how to create a load balancing configuration for WildFly 8 using the older Apache Tomcat mod_jk. Although the recommended load balancing solution for clustering JBoss AS7/Wildfly is mod_cluster you should include in your administrator’s skill also the earlier Apache Tomcat mod_jk connector in some scenarios. Configuring … Read more

JMS 2.0 tutorial

Java EE 7 specification is going to be fully implemented in the new release of the application server named WildFly. One of the additions included is the new release (2.0) of the Java Messaging Service which includes some enhancements oriented toward the ease of development. Let’s see in detail. In order to run these samples … Read more

Installing JBoss EAP 6 as a service

This recipe shows how to install JBoss EAP as a service and allow it to start at boot time. In order to do that, you need to use some script files which are contained within the server distribution and, for Windows users, download some extra native files. The next two sections discuss about it:  Linux … Read more

A Thread pattern for JBoss Enterprise applications

Using Threads in your Enterprise applications has been traditionally discouraged as it might conflict with the Application Server’s own threads. Nevertheless with the introduction of the Asynchronous EJBs it is possible to explore new design patterns which allow managing your thread pool from within the EJB container.    Important notice: this tutorial requires JBoss AS … Read more

Securing JBoss applications using the ApplicationRealm

JBoss AS 7 and the EAP 6 provide out of the box a Security Domain which can be used for securing your applications. Let’s see how to use it in a few simple steps. What is JBoss Application Realm? When applications are deployed to the application server they are associated with a security domain within … Read more

Configuring Single Signon on JBoss AS 7

This tutorial describes how to configure Single Signon for a JBoss AS 7 Web application (standalone and clustered).  The Single Signon configuration allows a centralized login configuration for corporate sites that use different Web context. In order to cofigure single signon on JBoss AS 7 we need to operate on two configuration points: The web subsystem … Read more

Configuring JBoss with PicketBox LDAP Module

In this tutorial we will show how to connect WildFly / JBoss EAP to OpenLDAP directory service using PicketBox Security Framework. For a more recent configuration (using Elytron) we recommend checking this article: How to configure an Elytron LDAP Realm on WildFly Installing LDAP OpenLDAP is a free suite of client and server tools that … Read more