README

Docker

The Dockerfile depends on the official jboss/wildfly image.

  • it openes the management port 9990
  • it adds the management user admin:admin

Build and run Docker container

docker-compose up -d --build

Open:

(Un)Deploy Hello World WAR

cd helloworld/

Deploy (admin:admin):

mvn install wildfly:deploy

Undeploy (admin:admin):

mvn wildfly:undeploy

Use RESTful enpoint

curl -H "Accept: application/json" http://localhost:8080/helloworld/rest/hello/
curl -H "Accept: application/xml" http://localhost:8080/helloworld/rest/hello/

Open Hello World Application

Ecplise

Install

sudo snap install eclipse

Import maven project

File -> Import -> Existing Maven Projects

Sources