From the course: Java EE 8: Web Services

Unlock the full course today

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

Package and deploy the service

Package and deploy the service - Java EE Tutorial

From the course: Java EE 8: Web Services

Start my 1-month free trial

Package and deploy the service

- [Instructor] Now that you've seen the code for implementing a RESTful web service, you need to deploy it and see it run. From a configuration standpoint, we're already set. In our pom.xml, that is the Maven configuration file under the dependency management section we already have the GlassFish Jersey bill of materials or BOM, and that pulls in anything we could possibly need to develop and compile a Jersey service. Then we have these three dependencies down here. We have the Jersey container servlet which is basically an embedded version of Jersey. We have the jersey-hk2 dependency, which is for Jersey's internal use for injection. And we have the Jersey media JSON binding dependency which is supposed to enable the JSON BAPI brand new with Java EE 8 integrated into the JAX-RS API. Some of these might be commented out by default. You should just un-comment them if that's the case in your own deployment. The Payara…

Contents