From the course: WebSocket Programming with Java EE

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deployment

Deployment

From the course: WebSocket Programming with Java EE

Start my 1-month free trial

Deployment

- [Narrator] This is a Maven Project. Now, Maven manages the project's dependencies and uses the Cargo plugin to deploy the application. The application is deployed into the Glassfish instance by the Cargo plugin. The first time the application is deployed, all dependencies are downloaded, including the Glassfish server. This is a large file of about 100 megabytes and may take some time to download, so do be patient. I have designed the project in this way so there is minimal configuration required and low friction to getting started. For this to work, you must have Maven installed. Invisible from the command line, the installation of Maven for your operating system can be found on the Maven website and if you're interested in how the Cargo plugin works, you can find more information on this website. In order to deploy the application, you need to open a command line and navigate to the location of the pom file for the project and then execute the following Maven command, mvn clean…

Contents