java - Host a web-service from within a Swing application -
I have to set a javascript java client that will communicate with a .NET desktop application. The .NET application reveals itself through a webserver of its services, rather than opting for my Java app for data changes, it was suggested that the .NET App is a web service or similar technology to my Java Contact desktop app. I am not familiar with web services, but as I think you need to host some kind of web app container like Tomcat. Is there a way to set up a socket in my app as a webservice end point without effectively redirecting a webserver from scratch? Alternatively, are there other or better ways for .NET desktop applications to talk to a Java swing desktop application? If you are using JRE 6, you can create an in-app server and expose a service to EndpumpBlub () can use the method.
To see a simple tutorial, see the same example - How EndpumpBlub () works internally makes light weight server and provides SOAP service at that location.
Comments
Post a Comment