WildFly is a free, open source & cross platform application server (formely known as Jboss AS or Jboss). It is written in java programming language & currently it is being maintained, developed by Redhat. The most notable features of WildFly are:
- Fast Startup,
- Small Footprint,
- Modular Design,
- Unified Configuration and Management
And of course Java EE!
In this tutorial, we are going to install latest stable version of WildFly i.e. 13.0.0.Final on mac/linux. So let’s start,
- Go to http://wildfly.org/downloads/
- Download the most recent JavaEE Full and Web distribution zip/tgz file, which is now 13.0.0.Final.
- Make sure you have Java 8 installed. For installing java, you can use sdkman which can smartly manage different versions of jdk. For more about sdkman, see this post.
- Unzip the file and open your terminal
- Start the server in standalone mode
By default It support Java EE Web-Profile plus some extensions like RESTFul Web Services and support for EJB3 remote invocations. For support of Java EE Full-Profile and all server capabilities without clustering run:
- This will start the wildfly instance. To access the instance, open the web browser & enter the following URL in the web browser http://localhost:8080
- To stop the server, press Ctrl + C
- To access the management console, URL is http://localhost:9990You need to create a management user to access the console. To create a management user run:
and follow the instructions as prompted. After the username and password has been set up, same can be used to access the management console from the URL mentioned above after starting the server.
These are the steps to install and run WildFly server in standalone mode.