This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes Messaging in a Spring based system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Messaging in a Spring based system" Watch "Messaging in a Spring based system" New topic
Author

Messaging in a Spring based system

sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
Hi All,

I have a business problem and seeking a good solution for this. I have a number of clients who will login to a common page on my site. I have to push individual messages to them throughout the day. For example - I have 2 clients bill and joe. I have to send news data to bill only and weather data to joe as and when i have this data ready on server.

I do not want to get ping(say ajax call in every 10 sec.) on my database(client pull -> server/DB) from bill and joe logged in throughout the day. I wanted to do it other way around(server push -> client). Can some one please suggest me if Spring JMS is a solution or any lightweight approach can be taken so that server push data to bill or joe's client GUI as soon as data(news for bill and weather for joe) arrives?
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

yes read about Spring JMS http://static.springsource.org/spring/docs/current/spring-framework-reference/html/jms.html


===Vyas Sanzgiri===
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Messaging in a Spring based system
 
Similar Threads
Database design
two-way communication between client and server behind firewall
saving data in JavaScript
RMI client-side SQL and File I/O
Reusable but not visible to client components with Struts and Tiles?