Jakarta EE Programming/WildFly

WildFly (formerly JBoss) is an open source application server developed by Red Hat. Here is the first steps to use it:


 * 1) Download it from the website. You will need a Red Hat account.
 * 2) Launch the JAR file with Java. If you're not familiar with an application server, try to keep the default options as much as possible. Note the location where JBoss will be installed.

JBoss should be installed. To verify so, we will create a minimalist application to run.

Hello World!
 * 1) Create a file called   with the following content:


 * 1) Open this file with a web browser. It should display "Hello World!".
 * 2) Close the browser.
 * 3) If you are on Windows or Mac, zip the file (i.e. create an archive).
 * 4) If you are on Linux or UNIX, create an archive, compressed or not, like a .tar file.
 * 5) Rename the archive file to   (yes, rename also the file extension).
 * 6) Put the WAR file in the   folder of JBoss (you should have noted where JBoss is installed).
 * 7) Start JBoss. If you are on Windows, you should find the option to start JBoss in the Windows start menu. Otherwise, you can start JBoss by launching the script   (on Windows) or   (on Mac, Linux or UNIX) in the   folder of JBoss. In the   folder, you should see the deployed version of your application:.
 * 8) On a browser, go on  . You should see "Hello World!".