JBoss Teiid quickstart tutorial

Teiid is a data virtualization platform, which can be used to integrate data from multiple datasource like RDBMS, Web services, Plain text files, EXCEL, No SQL databases and more, providing a single view of the data. Teiid is typically executed inside JBoss EAP platform, but can also be run in embedded mode. The enterprise version … Read more

Use Camel to handle your WildFly logs

Many of you have heard about Camel rule based and mediation engine. On this tutorial we will show how to unleash its power to handle the logs from WildFly 9! First of all, if you need a quickstart tutorial about Camel here is an Hello World Camel quickstart In order to trigger Came routes, we will … Read more

Build a RESTful application using jqGrid

This tutorial shows how you can build up an Enterprise application using jQuery and jqGrid plugin on the client side and REST Web services deployed on WildFly application server. Let’s start building the server side at first. Our SimpleRESTService contains two methods only: getPersonList which retrieves a list of Person Entity using a JPA Query … Read more

A JMS Browser for JBoss-WildFly

JBoss AS 7 and WildFly are missing a native interface to browse the JMS queue messages like for example ActiveMQ does. So I started to code by myself a simple application which does it. The application is available on github at  https://github.com/fmarchioni/mastertheboss/tree/master/JMSBrowser It is a regular Web application which uses the javax.jms API to browse … Read more

Demystifying Datasource JTA and XA settings on JBoss-WildFly

One topic which is often misunderstood by middleware administrators is the configuration of JTA and XA attributes and their effect on transactions. Let’s see more in practice. Basically on a JBoss AS 6/WildFly configuration you can choose three different strategies as far as transactioons are concerned: 1) Setting jta = false and Non-XA datasource <datasource jta=”false” … Read more

Configuring JBoss EAP 6 – WildFly to use TCP for messaging

This tutorial shows how to use TCP for initial discovery and communication between cluster nodes of HornetQ servers running on JBoss EAP 6 / WildFly 8 First of all, let’s see the default mechanism used by the HornetQ messaging broker in JBoss/WildFly: As you can see, the first step is server discovery and it’s done … Read more

Using Spring Retry to consume REST Services

Spring-retry is one of the many side-projects of Spring: the famous dependency injection framework. This library let us automatically re-invoke a method, moreover this operation it’s trasparent to the rest of our application. In this post I will try to illustrate the main features of this API, using a simple example. Setup To add Spring-retry to … Read more

Using Camel with WildFly – part 2

This is the second part tutorial about using Camel with WildFly. We will now learn how to use Camel routes within our applications. First of all, check that you have installed Camel subsystem as described in this tutorial: Riding the Camel with WildFly application server Using Camel with Java EE CDI applications is even easier than … Read more