Developing applications with MongoDB and PrimeFaces on WildFly

This tutorial shows how to build an application which exports/imports data contained in a PrimFaces datatable in MongoDB.  MongoDB is a popular noSQL database which can be freely obtained from: http://www.mongodb.org/downloadsOnce downloaded, create a script named for example startmongodb.cmd (or equivalent for Linux) which starts the Mongo database, selecting a location for the storage: mongod … Read more

Spring JDBC application on WildFly

This tutorial demonstrates how to develop a Web application using PrimeFaces for the User Interfaces, Spring JDBC for handling persistence and CDI as glue between these technologies. Although there are many technologies in this tutorial, you will see that mixing them is not complicated at all. You need a basic Web project as startup; for … Read more

Getting started with AppDynamics and JBoss-WildFly

In this tutorial we will learn how to setup, configure and monitor a WildFly application server node using the AppDynamics Performance Management (APM) solution.   In order to get started with AppDynamics we will start a 15 days free trial subscription at https://portal.appdynamics.com/account/signup/signupForm/ Once expired the pro trail of AppDynamics you can still use the Lite version of it … 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

Getting started with OpenShift and WildFly

Note: This article reflects an old version of Openshift which has been deprecated. This is the latest updated tutorial on WildFly and Openshift: Running WildFly on Openshift This tutorial will show how to deploy an application on Openshift Platform-as-a-Service (PaaS) cloud hosting using WildFly 8.1.0 cartridge.   OpenShift Express enables you to create, deploy, and manage applications … 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

Undertow Web Server tutorial

In this tutorial we will discuss about Undertow Web server which is the new Web server implementation for WildFly application server.  Undertow Web server is a fast and light Java Web server based on non-blocking IO. It consists of a few different parts: A core HTTP server that supports both blocking and non-blocking IO A Servlet … Read more

Deploy applications to a remote WildFly Server using Eclipse

In this tutorial we will learn how to deploy applications to remote WildFly application servers using Eclipse and the JBoss tools plugin.   The prerequisite to this tutorial is that you have installed JBoss Tools on eclipse. Check out this tutorial for learning how to do it. There are several strategies for deploying your applications on a remote … Read more

Using JConsole to monitor a remote WildFly server

This quick tutorial shows how to monitor a remote WildFly application server in Standalone and Domain mode using the JConsole tool.   Connecting to a remote WildFly Server in Standalone Mode The first thing you need to do is setting up a management user on the remote WildFly server using the add-user.sh/add-user.cmd script: What type of user … Read more