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.
Packaging and deploying your SOAP service - Java EE Tutorial
From the course: Java EE 8: Web Services
Packaging and deploying your SOAP service
- [Instructor] Writing our JAX-WS service was simple enough, where things tend to get interesting is packaging and deploying the servers. The target deployment server makes all the difference. The Payara application server ships with the necessary libraries to support JAX-WS, just like is does for JAX-RS. This is the reason we were able to do almost no configuration and still have our SOAP web service available. We didn't even have to configure the JAX-WS Maven dependencies. You could even remove the web XML file, and the whole thing would still work. In short, if you're deploying to the Payara server, you don't need to manually configure dependencies, or a server for your JAX-WS web service to come alive. Same goes for the Glassfish application server, remember, Payara is Glassfish, with fancier tools. For the Apache Tomcat container though, we need to package some sort of dependencies, and some minor configuration…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.