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

JBoss Operation Network (JON) installation tutorial

In this tutorial we will learn how to install JBoss Operation Network (JON) which provides centralized control, configuration, and visibility to JBoss applications and related infrastructure. JBoss Operation Network is part of RedHat subscription, however you can download a trial version at https://access.redhat.com/downloads#eval Unpack the JON server into a folder of your like: jar xvf … Read more

EJB invocations from a remote WildFly server

In this tutorial we will show how you can perform EJB to EJB invocations between two WildFly server instances. Calling EJB which are located on a remote EJB server is done differentely depending if the remote client is a standalone client or if the client is located on another instance of WildFly. Java Standalone clients … Read more