I have a JAX-WS web service exposed through the simple Endpoint interface (example)
If I understand the API correctly, as an alternative to directly calling Endpoint.publish (which uses the Sun's HTTP Server), we can:
- Create the Endpoint -->
Endpoint e = Endpoint.create(impl);
- Publish the Endpoint --->
e.publish(context);
Can I use this e.publish(..)
API to publish to an embedded tomcat server? (example)
The javadoc of the Publish method is pretty confusing to me.