Reputation: 2601
I've been following some JAX-WS tutorials and after using the Endpoint.publish()
method to publish (presumably) my web-service I can successfully call it at localhost, but I'm wondering where the service is being published? I haven't configured it for any particular server or anything like that.
How does my request get directed to the web-service?
Upvotes: 1
Views: 714
Reputation: 20691
Since JDK 1.6, Java has shipped with a lightweight HTTP server, that's used by internal JDK components. It's also available for your use as well.
Related reading:
Upvotes: 2