aspose file tools*
The moose likes Spring and the fly likes How should I approach building a real time comment system like social networks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How should I approach building a real time comment system like social networks" Watch "How should I approach building a real time comment system like social networks" New topic
Author

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

Kr. Pallav
Ranch Hand

Joined: Mar 06, 2010
Posts: 32

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.


~|>@//@\/~
Kumar Pallav
-------------------
SCJP 5: 86 %, SCWCD: 91%
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How should I approach building a real time comment system like social networks
 
Similar Threads
Table of contents for The Developer's Guide to Social Programming
Interoperability between Social Programming Platforms
What is Social Programming and how it is related to Html and JavaScript
What do you think of Google Wave
Gmail Buzzz