Start the WildFly Server
-
Open a command prompt and navigate to the root of the WildFly directory.
-
The following shows the command line to start the server:
For Linux: WILDFLY_HOME/bin/standalone.sh For Windows: WILDFLY_HOME\bin\standalone.bat
Build and Deploy the Quickstart
-
Make sure you have started the WildFly server as described above.
-
Open a command prompt and navigate to the root directory of this quickstart.
-
Type this command to build and deploy the archive:
mvn clean install wildfly:deploy
-
This will deploy
target/wildfly-ejb-in-war.war
to the running instance of the server.
Access the application
The application will be running at the following URL http://localhost:8080/jboss-ejb-in-war.
Undeploy the Archive
-
Make sure you have started the WildFly server as described above.
-
Open a command prompt and navigate to the root directory of this quickstart.
-
When you are finished testing, type this command to undeploy the archive:
mvn wildfly:undeploy