• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Messaging in a Spring based system

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 686
Netbeans IDE Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes read about Spring JMS http://static.springsource.org/spring/docs/current/spring-framework-reference/html/jms.html
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic