JBoss / WildFly XML descriptors reference

WildFly uses a set of custom XML descriptors which can be used to customize Enterprise applications. Today they are not used so widely as once, because they have been replaced by their equivalent annotations. Though it can be useful to have a reference to most common XML configuration file, if you prefer to maintain your … Read more

How to a dump of JNDI tree with JMX console ?

If you are running JBoss 4/5 having a dump of the JNDI tree is quite easy. Open your JMX console: http://localhost:8080/jmx-console and look for the Service “JNDIView” (it’s under the object name jboss) Now simply find the method “list”, click it without writing a line of code but simply using the JMX Console If you … Read more

What is JBoss and what is used for?

In this tutorial we will learn what is JBoss and what is JBoss used for. The word JBoss is quite generic. In the beginning it was used to reference a Community Opensource project called “JBoss” developed by the JBoss Inc. which was later acquired by Red Hat in 2006. Since JBoss org. was acquired by … Read more

Configuring Transactions (JTA) using JBoss / Wildfly

This tutorial discusses about configuring and monitoring transactions using the Java Transaction API(JTA) on Wildfly application server. Let’s start from some definitions: A transaction can be defined as a group of operations that must be performed as a unit and can involve persisting data objects, sending a message, and so on. When the operations in … Read more

JBoss MBeans POJO

UPDATE: This tutorial has been written for JBoss AS 5. MBeans POJO are not available anymore in WildFly application server. Their main purpose was to create Singleton-like behaviour in applications. You can replace them with EJB Singleton. Read this tutorial to learn more: Singleton EJB tutorial JMX MBean services are the core building blocks of … Read more

Configuring global modules and directories in WildFly

WildFly lets you share a single module across all your Enterprise Applications. This means that it can be added automatically to your application stack, with no deployment configuration. There are two ways to achieve it: Using global directories, which is a new feature introduced in WildFly 19, and using global modules. Let’s see both options. Configuring … Read more

Using WildFly core as management interface

WildFly core is the core runtime that is used by the Wildfly application server. It provides some minimal functionalities such as the classloader, JMX Api and the security framework (Elytron). Besides it, you can use it as Management endpoint. In this tutorial we will learn how to install it and use it as Management interface … Read more

WildFly basic requirements

In this short tutorial we will learn which are the basic requirements to run WildFly application server. The basic requirements to start WildFly are: A JDK available on your machine The right amount of memory settings for the JDK. Let’s see both requirements. Download the appropriate JDK for your WildFly version Each recent WildFly version … Read more

How to Start, Stop and Restart WildFly

This guide contains some tips to teach you how to start, stop, restart WildFly application server First of all, WildFly can be run in two modes: Standalone mode and Domain mode. How to start, stop, restart WildFly in Standalone mode You can start WildFly as follows. Move into the bin folder of your installation and … Read more

Installing WildFly on Windows

This tutorial covers WildFly application server installation and configuration as a Service on Windows. First off, you need to download a JDK which is supported by WildFly. If you are not sure which one to download, check this article: Choosing the right JDK for WildFly and JBoss EAP 7 . Now Install the JDK : … Read more