two way webservice communication REST

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


two way webservice communication REST



G'day folks, So I have an application in mind with a client-server architecture where multiple clients are connected to a web service. The webservice needs to be able to call or send messages to all or some of the clients. I have previously done the same using SOAP based services in WCF but now I am working with java and wish to avoid SOAP. I have been experimenting with Server Sent Events in reactive framework in Spring framework but have been mostly unlucky.
Is there a way to implement two way communication without explicitly exposing a webservice or such on the client? thanks a bunch :)




1 Answer
1



Try WebSockets for two-way communication and simple Restful for request-response communication.
Here is a simple guide: http://www.baeldung.com/java-websockets






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

BqCp,kbEsF
esO vkxd,iE0k0pOZD4ryzniBjKv9PiKT ycwPModxiNDD7gz9r4A t2nrE0BHSlS151kvS7TfxZ0UKbcDndI0uQx8y r9NJaFi

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham