The Dockerfile
depends on the official jboss/wildfly
image.
- it openes the management port 9990
- it adds the management user
admin:admin
docker-compose up -d --build
Open:
- http://localhost:8080/
- http://localhost:9990/ (
admin:admin
)
cd helloworld/
Deploy (admin:admin
):
mvn install wildfly:deploy
Undeploy (admin:admin
):
mvn wildfly:undeploy
curl -H "Accept: application/json" http://localhost:8080/helloworld/rest/hello/
curl -H "Accept: application/xml" http://localhost:8080/helloworld/rest/hello/
sudo snap install eclipse
File -> Import -> Existing Maven Projects
- wildfly-maven-plugin
- wildfly-jakartaee-webapp-archetype
- jakarta.xml.bind-api