DIF Tutorial - Deploying the application

Back to Building the application

Deploying your web app to an application server is as simple as typing the following command on the project folder:

 mvn package cargo:start

This will deploy the WAR to the deploying folder of the provided application server. The application server will then be started and your app will be accessible through the browser. You just have to point it to the 8080 port of the localhost and add the following URL fragment:

/ApplicationName/page?stage=personaldata

If your sample app is named "sampleApp-1.0.0" you would have the following URL:

localhost:8080/sampleApp-1.0.0/page

And that's it!

Advance to Debuging the application