• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How should I approach building a real time comment system like social networks

 
Ranch Hand
Posts: 32
Netbeans IDE Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to build a system where there are multiple users and can see if I update something , [based on certain conditions] almost like twitter and facebook , how can I write a live streaming updates with Spring , will spring social be of any help ,
System should fetch my updates from my websites and also from Facebook & twitter
Or should I approach another way , please guide.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kr. Pallav wrote:I want to build a system where there are multiple users and can see if I update something , [based on certain conditions] almost like twitter and facebook , how can I write a live streaming updates with Spring , will spring social be of any help ,
System should fetch my updates from my websites and also from Facebook & twitter
Or should I approach another way , please guide.



Well there are lots of ways to a solution for this. One is AJAX on the client side polling the server for new data. One is something like WebSockets for a permanent connection. For the server side, you could use Spring Social with Spring Integration and in Spring Integration set up a poller to get new data, but then find a way to push like Web Sockets to the client.

Mark
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic