From the course: Java EE: RESTful Service with JAX-RS 2.0

Unlock the full course today

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

Deployment demo

Deployment demo

From the course: Java EE: RESTful Service with JAX-RS 2.0

Start my 1-month free trial

Deployment demo

- This is the Maven Project. Maven manages the project's dependencies and uses the Cargo plugin to deploy the application. Birth applications are deployed into GlassFish instance by the Cargo plugin. The first time the application is deployed would depend (mumbles) downloaded including the GlassFish server. This is a large file of about 100 megabytes so it may take some time to download, so be patient. I have designed the project in this way so that there is minimal configuration required and low friction in getting started. In order to deploy either the client or server application, you need to open a command line and navigate to the path where the file exists for that project and execute the following Maven command. So here, I am going to navigate to my location where my server exists which is in rest-server and now I'm gonna execute the command maven clean package cargo run. This will now deploy the application. And I also need to deploy the front end application so I do the same…

Contents