I have earlier used Jersey API to build JSON web services and deploy them on Tomcat/Websphere.
I am now trying to create a JAX-WS SOAP service and I assumed that Tomcat would be involved.
From this tutorial here, it looks like I don't need a web server to run a JAX-WS service!
- How come full-fledged web server is not required for JAX-WS which serves data on HTTP?
- Is it possible to run the service on Tomcat/Websphere? Update: Found an example here
- Are there any disadvantages/advantages of using a proper web server (as compared to the inbuilt endpoint publisher)?
Edited:
- Are there any disadvantages of using the embedded HttpServer? Will JAX-WS implementation use servlet-pool etc to optimise simultaneous service calls?
- If it was regular servlets I could use Security filters, Log filters etc. Does endpoint implementation provide alternate mechanism for intercepting requests?
- Is it ok to use the embedded HttpServer in production?