Can Java (JAX-WS) host "web" service in desktop program? For example .net wcf can host services anywhere. Tnx all.
A:
This should be possible using the javax.xml.ws.Endpoint
class (and the server from the JDK). You can learn more about this in the following article.
Another option would be to use an embeddable container like Jetty, to embed it in your desktop app and to deploy your JAX-WS web services on it.
Pascal Thivent
2010-06-05 19:26:05