This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Suggestions requested .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Suggestions requested .. " Watch "Suggestions requested .. " New topic
Author

Suggestions requested ..

raj govind
Greenhorn

Joined: Sep 13, 2001
Posts: 4
Hello all,
I am working on a project using java server side technologies. In the application, currently the client program polls the server every 30 seconds to get the latest messages. However due to the large number of browser clients and also due to the fact the each client on a average gets about 10 new messages a day, the current system poses a large overhead. An alternative RMI based solution having the server push the messages to the client was not used as every client had to install a java plugin, which needs to be changed whenever teh Server java version changes. In this regard, i would like your suggestions on any alternative ways of getting the server to push the messages to browser clients as an when the new messages arrive.
Thanks for your time.
Raj
Amit Agrawal
Ranch Hand

Joined: Aug 23, 2001
Posts: 282
try JMS. I guess its easily possible.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Suggestions requested ..
 
Similar Threads
server - client communication
Messaging in a Spring based system
Chat application
Creating a list of clients connected to server?
Push & Pull models of MVC