Riding the Camel with WildFly application server

This tutorial describes how you can integrate Apache Camel in your WildFly Application Server configuration. At the end of this tuorial you will be able to turn your WildFly application server into a mini service bus! First of all, you need to grab the WildFly-camel bundle which is available at https://github.com/wildfly-extras/wildfly-camel Simply unzip the tar.gz file … Read more

Creating persistent clustered EJB 3 Timers

In this tutorial we will learn how to configure a Timer EJB 3 Service on a cluster of servers. You will need WildFly application server and a Database supporting READ_COMMITTED or SERIALIZABLE isolation level. Let’s start from a simple EJB 3 Timer which is scheduled to be executed every 10 seconds: @Singleton @Startup public class … Read more

Digging into WildFly 8.2 Console

A few days ago the version 8.2 of WildFly application server has been released. This release includes a number of improvements and bug fixes over the last release, 8.1.0.Final. In this article we will have a look at the web Administration console which bears some interesting changes. The first evident change is in the upper … Read more

Sharing HTTPSession between Web applications in an EAR

One of the new features of WildFly 9 is the ability to share the HTTP Session between applications which are part of the same Enterprise Archive. (This feature is described in https://issues.jboss.org/browse/WFLY-1891 ) Actually the main advantage of this feature is to facilitate the migration of application running on Websphere and Oracle WebLogic which have this feature. Let’s see an example … Read more

WildFly 9 introduction

As anticipated in the wildfly-dev mailing list, a new major release (wildfly 9) of the application server will be available within the end of the year. Let’s see the new emperor clothes’ summary.   Welcome to WildFly 9 At the time of writing the latest release of WildFly 9 is the Beta2 which is available from: http://wildfly.org/downloads/ … Read more

Configuring WildFly as Reverse Proxy

In this tutorial we will learn how we can configure the Undertow subsystem to reverse proxy request from one application running on one host to another application running on an another host.    At first some some terminology: what is a reverse proxy ? the common usage of the term proxy usually refers to a forward proxy, which is a server … Read more

Configuring WildFly Batch Job Repository

WildFly ships with a subsystem named batch which is the administration side of JSR 352, also known as Batch API for Java applications. This JSR specifies a programming model for batch applications and a runtime for scheduling and executing jobs.   WildFly Batch Job Repository configuration Out of the box, the following configuration is included: <subsystem … Read more

Patching WildFly application server

The final version of WildFly 8.1.0 has been released and it contains also the first patch to apply for updating the installation from 8.0.0 Final to 8.1.0. This tutorial shows how to do it.   The first obvious thing you need is downloading the patch which is available at www.wildfly.org:Download the “Update Existing 8.0.0.Final Install” … Read more

Running WildFly with JDK 8

The JDK 1.8 early access is available for download at Oracle’s site. In this short tutorial we will try to use it to start up Wildfly 8 application server.   So once downloaded, installed and configured JAVA_HOME to point to the new JDK 8, let’s now start wildfly 8. The first change that we notice is … Read more

Maven configuration for Java EE 7 projects on WildFly

In this tutorial we will learn how to configure Maven Project Object Module (pom.xml) so that you can easily build and deploy your applications running on WildFly. In order to do that we will use the following BOM which is available in Maven Central Repository: http://central.maven.org/maven2/org/wildfly/bom/wildfly-javaee7-with-tools/ What is a BOM ? A BOM is also … Read more