Updating all users' view using server-push [message #127588] |
Wed, 08 April 2009 07:04 |
Eclipse User |
|
|
|
Originally posted by: ben.fern.yahoo.com
Hello,
Here is my problem : I'd like to update a view's tableviewer of all others
users that have the same view displayed in their browser.
In fact, I have a view (Tableview) which has a tableviewer (filled with
object from a database). In this tableviewer, I have modify and delete
actions.
So when USER1 (for example) uses these actions, I'd like to update
automatically USER2's Tableview as a consequence.
I though about using server push for doing that.
Do you think that it is the correct way to do it?
If yes, could show me the way to use server-push (considering I already
read this topic :
http://www.eclipse.org/newsportal/article.php?id=5975&gr oup=eclipse.technology.rap#5975).
Thank you all.
|
|
|
Re: Updating all users' view using server-push [message #127709 is a reply to message #127588] |
Thu, 09 April 2009 08:40 |
|
Hi Ben,
are you aware of the UICallBack helper class? You can use this to
enable server-push behavior, i.e. allowing automatic UI-updates by
server side background threads. This way, the UI of USER2 can be updated
even without an explicit user interaction of this user.
Best regards, Ralf
> Here is my problem : I'd like to update a view's tableviewer of all
> others users that have the same view displayed in their browser.
>
> In fact, I have a view (Tableview) which has a tableviewer (filled with
> object from a database). In this tableviewer, I have modify and delete
> actions.
> So when USER1 (for example) uses these actions, I'd like to update
> automatically USER2's Tableview as a consequence.
> I though about using server push for doing that.
>
> Do you think that it is the correct way to do it?
> If yes, could show me the way to use server-push (considering I already
> read this topic :
> http://www.eclipse.org/newsportal/article.php?id=5975&gr oup=eclipse.technology.rap#5975).
|
|
|
Powered by
FUDForum. Page generated in 0.01925 seconds