Configuring Transactions (JTA) using JBoss / Wildfly

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

Top JBoss Interview Questions (2023)

Are you going for a JBoss / WildFly interview ? here is a comprehensive list of JBoss / WildFly interview questions that will shake up your hiring! General JBoss interview questions Q: Name all possible ways you know to start WildFly application server You can do it in at least four ways: Download and unzip … Read more

How to configure WildFly naming subsystem

This tutorial shows how you can configure the naming subsystem in WidFly and older JBoss AS versions The Java Naming and Directory Interface (JNDI) is a Java API for a directory service that allows Java software clients to discover and look up data and objects via a name. Like all other Java APIs also, JNDI … Read more

Solving “javax.naming.Reference cannot be cast to”

Java applications often leverage Java Naming and Directory Interface (JNDI) for naming and directory services. However, encountering the “javax.naming.Reference cannot be cast to” error can be a perplexing challenge for developers. This error typically indicates a casting issue when working with JNDI references. In this article, we will explore common causes of this error and provide solutions to help you resolve it effectively.

Read more

Mail session configuration on WildFly

In this simple tutorial we will show how to use the Java Mail service from WildFly – JBoss EAP, either connecting to a local SMTP server or using Google SMTP server. Let’s start configuring JBoss Mail service on WildFly, then we will see how to configure the service on older application server versions. WildFly Mail service configuration … Read more