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

Develop mobile Java EE applications using Primefaces

In this tutorial we will learn how to develop a simple Web application for Mobile devices using PrimeFaces mobile extension as JSF API. Today mobile Web traffic is dramatically on the rise, and creating a smooth mobile experience is at the top for every Web master. In spite of slow networks, mobile users expect a … 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

Using Infinispan Query API

Applications using a NoSQL storage often need to query data using a full-text search that can be hardly accomplished using traditional RDBMS. This tutorial shows how to use Infinispan Query module in order to search through data added to the cache using an Object oriented fluent API. In order to do its job, Infinispan uses behind … 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

Debugging Arquillian Tests

This short tutorial describes how to debug Arquillian Test Cases using a development environment like Eclipse IDE. The prerequisite is that you have gone through the basics of Arquillian– you can start from here: Arquillian tutorial As you already know, Arquillian tests are launched as JUnit test but are executed on the application server environment. Therefore, … Read more

Using Infinispan with WildFly

The Infinispan subsystem provides caching support for HA services in the form of Infinispan caches such as high-performance, transactional caches which can operate in both non-distributed and distributed scenarios. WildFly application server ships with the Infinispan subsystem, however, it is recommended not to use the application server cache definition as repository for your Cache. This … Read more

Dynamic Servlet Registration

One of the cool features introduces by Java EE 6 is Dynamic Registration of Servlets and Filters at application startup. This can be really useful if you are building your own framework but I guess for developers too can benefit from it. In order to do that, you can use some new methods introduced in … Read more

Cloud Computing and Mobile Devices

Cloud computing is a recent technology that seeks to provide users with access to their personal data and applications whenever they need it. Simplification of the access would mean a shorter time for the users to make full used on it; hence, leading to greater marketability of the product. Smartphones and tablets make up to … Read more