Michael Oberleitner wrote:the server needs to send a 1-to-n message to all clients, to give them the new written information and to keep them up to date.
..... but with http the server is not able to initiate a communication with the clients
Jayesh A Lalwani wrote:Why do the clients keep data in memory? Can't they fetch the data from the server when required? Are they doing some processing that requires all data to be on the client?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
William Brogden wrote:I know I am late to this thread, but that notifying all the clients of a change thing sure sounds like Java Message Service in the publish-subscribe mode. All the tangled details of RMI would be taken care of by JMS.
Any particular reason JMS was not considered?
Bill
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
The question now is, is there a way to achieve this with http or is it better to use another rpc technology like rmi for this.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
Michael Oberleitner wrote: I think this is very difficult using http without installing tomcat to every client and therefore i need another technology.
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
Michael Oberleitner wrote:
Maybe there is just a solution with polling, but this i is not what my customer wanted...
Jayesh A Lalwani wrote:Your customer is dictating design decisions?
Michael Oberleitner wrote:Maybe there is just a solution with polling, but this i is not what my customer wanted...
Michael Oberleitner wrote:
Maybe there is just a solution with polling, but this i is not what my customer wanted...
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
I love a good mentalist. And so does this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|