How to run Spring Boot applications on WildFly

This updated (May 2023) article shows how to deploy Spring Boot 3 / Spring Boot 2 applications on top of WildFly application server as Web application archives (war). We will start by setting up the application with Spring Boot Initializr. Then, we will apply the configuration changes to deploy the application on WildFly.

Read more

Using JBoss Transaction Manager in a Spring application

In this tutorial we will learn how to use JBoss Transaction Manager on the top of Spring’s transaction management abstractions. The Spring framework allows pluggable transaction managers. However, iIf you need XA support for your Spring applications, then you need to plug in a transaction manager such as JBossTS. Let’s see how to configure JBoss … Read more

Deploy your Spring Boot applications on OpenShift

[Updated!] Spring Boot is a new paradigm for developing Spring applications with more agility while focusing on your business methods rather than the thought of configuring Spring itself. In this tutorial we will learn how to deploy a Spring Boot application on Openshift Container Platform. First of all, we will need a Spring Boot application … Read more

Your first JMS application with Spring Boot

This tutorial will teach you how to create a Spring Boot JMS application which sends messages to ArtemisMQ JMS Server. At the end of it, you will learn how to send messages from a generic Spring Boot application and from a Spring Boot REST Controller. Let’s get started! In order to start, we will create … Read more

Configuring the DataBase in Spring Boot applications

In this tutorial we have learn how to setup a Spring Boot JPA application and deploy in on a Java EE container using the default H2 database: SpringBoot with JPA on WildFly. Now we will learn how to change the Database settings. So here’s the initial Project we have built so far: SpringBootJPA/ ├── … Read more

Spring Boot with JPA on WildFly

In this second tutorial about Spring Boot we will learn how to deploy a JPA based application on a Java EE container such as WildFly 10. We recommend going through our first tutorial to learn how to setup quickly a Maven project with Spring Boot: Spring Boot Hello World on WildFly So we assumed you … 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

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