A Spring Boot (and OpenLiberty/Quarkus etc.) alternative: the WildFly Bootable JAR! - PART 1: the Java app

A Spring Boot (and OpenLiberty/Quarkus etc.) alternative: the WildFly Bootable JAR! - PART 1: the Java app

WildFly Bootable Jar is a new technology that leverages Galleon provisioning in order to provide you with an experience which would be similar to the one you’ll experience when developing a Spring Boot application, and it will add the power of an embedded tested and standard Java/Jakarta EE full featured application server.

That’s it: the WildFly Bootable Jar allows you to create a runnable jar that contains your application.

These kinds of apps fit very well with the cloud-native and microservices oriented development and deployment patterns, and the WildFly Bootable JAR plugin will be the resource that will help you in getting there!

Let’s rely on a common use case scenario.

One of the most common things a developer does is to create a Java web application that connects to a database.

The repository github.com/Tommy74/wildfly-bootable-jar-dat.. is a shared project to demonstrate a complete and working example that explains how to implement your application in a microservices-and-self-running(aka bootable) way, which is very common as of today, by leveraging technologies like MicroProfile and Galleon.

In the end you’ll get a working application that connects to a PostgreSQL database and that you can run by simply typing what follows at the command line:

java -jar target/wildfly-bootable-jar-database-bootable.jar

In the next article we explain how-to put the wildfly-bootable-jar-database-bootable.jar inside a container;

Reference: