Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » event listener
event listener [message #6304] Fri, 25 July 2008 07:20 Go to next message
david leloup is currently offline david leloupFriend
Messages: 36
Registered: July 2009
Member
hi,

i'd like to know if there is a way for the riena server to inform client.
with some event listener on the client

in fact i'd like my clients to be informed by the server of some
modifications on my business objects

i've browsed the CVS code but don't find clue about that. i don't think
object transaction is the thing i need

TIA

David
Re: event listener [message #7554 is a reply to message #6304] Fri, 25 July 2008 08:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

david,

using Riena's Remote OSGI services you're using your own OSGI services
at client site. you can use your service to do this.
....if I understand right what you want to do...

ekke

david schrieb:
> hi,
>
> i'd like to know if there is a way for the riena server to inform client.
> with some event listener on the client
>
> in fact i'd like my clients to be informed by the server of some
> modifications on my business objects
>
> i've browsed the CVS code but don't find clue about that. i don't think
> object transaction is the thing i need
>
> TIA
>
> David
>
>
>
>
>
>
>
>
Re: event listener [message #7576 is a reply to message #7554] Fri, 25 July 2008 16:11 Go to previous messageGo to next message
david leloup is currently offline david leloupFriend
Messages: 36
Registered: July 2009
Member
hi ekke,

thanks for your answer

let me explain my scenario

the application i'm developping is a hotline call managment (with call crud
and answers)
the server is accessing a database with hibernate . i've a got some services
available (ListActivescalls, saveCall, updateCall, ...)

the client is an rcp application . it displays active calls, the user can
add new ones, close call, etc)

of course there are more than one client, entering calls, closing calls ,
....

by example if one client enter a new call, i want it to be propagated to the
other clients, and the view displaying active calls will refresh
automatically (adding the new one)

is it clearer ??

i've tried to use some JMS messaging between server and clients. but in my
opinion it is a very heavy solution
i thought riena could provide some help in this case




"ekke" <ekkehard@gentz-software.de> wrote in message
news:g6c397$igq$1@build.eclipse.org...
> david,
>
> using Riena's Remote OSGI services you're using your own OSGI services at
> client site. you can use your service to do this.
> ...if I understand right what you want to do...
>
> ekke
>
> david schrieb:
>> hi,
>>
>> i'd like to know if there is a way for the riena server to inform client.
>> with some event listener on the client
>>
>> in fact i'd like my clients to be informed by the server of some
>> modifications on my business objects
>>
>> i've browsed the CVS code but don't find clue about that. i don't think
>> object transaction is the thing i need
>>
>> TIA
>>
>> David
>>
>>
>>
>>
>>
>>
>>
>>
Re: event listener [message #7597 is a reply to message #7576] Mon, 28 July 2008 07:57 Go to previous messageGo to next message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
david schrieb:
> hi ekke,
>
> thanks for your answer
>
> let me explain my scenario
>
> the application i'm developping is a hotline call managment (with call
> crud and answers)
> the server is accessing a database with hibernate . i've a got some
> services available (ListActivescalls, saveCall, updateCall, ...)
>
> the client is an rcp application . it displays active calls, the user
> can add new ones, close call, etc)
>
> of course there are more than one client, entering calls, closing calls
> , ...
>
> by example if one client enter a new call, i want it to be propagated to
> the other clients, and the view displaying active calls will refresh
> automatically (adding the new one)
>
> is it clearer ??
>
> i've tried to use some JMS messaging between server and clients. but in
> my opinion it is a very heavy solution
> i thought riena could provide some help in this case
>
>
>
>
> "ekke" <ekkehard@gentz-software.de> wrote in message
> news:g6c397$igq$1@build.eclipse.org...
>> david,
>>
>> using Riena's Remote OSGI services you're using your own OSGI services
>> at client site. you can use your service to do this.
>> ...if I understand right what you want to do...
>>
>> ekke
>>
>> david schrieb:
>>> hi,
>>>
>>> i'd like to know if there is a way for the riena server to inform
>>> client.
>>> with some event listener on the client
>>>
>>> in fact i'd like my clients to be informed by the server of some
>>> modifications on my business objects
>>>
>>> i've browsed the CVS code but don't find clue about that. i don't
>>> think object transaction is the thing i need
>>>
>>> TIA
>>>
>>> David
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
David,

I think what you want is to push data to the client. Its pretty much like the highly hyphed pushmail but for your case
for your business objects. As you said, its a tough problem, because normally a client would poll for data and thats
also actually the way Riena is built currently. You can use local OSGi Services or OSGi Services on a remote computer
with the same API just if they were local. However remoting currently only works from client to server. So a client can
call an OSGi Service on the server.
Doing it the other way round is tricky but I dont think its impossible.
Tricky parts are:
- maintain a persistent connection to the client (which you normally dont)
- find the right client (there is only one server so finding that one is easy but there could be 10000 clients for a RPC
call)
- and others

To cut a long story short, we dont have it currently and have no date set when it could be done. Still its certainly an
interesting topic.

If you have any ideas of your own how to solve this problem, please share them with us. Riena is however meant to also
work over the Internet with HTTP/HTTPs connections. That probably rules out JMS for us I guess (dont know JMS well enough)

- christian
Re: event listener [message #7618 is a reply to message #7597] Mon, 28 July 2008 09:26 Go to previous message
david leloup is currently offline david leloupFriend
Messages: 36
Registered: July 2009
Member
hi Christian,

i will investigate and try to find a light solution to this case

the first and easy one will be to activate an eclipse job at client-side to
refresh business objects and views
but that's not completly correct

thanks


"Christian Campo" <christian.campo@compeople.de> wrote in message
news:488D7BEC.4000106@compeople.de...
> david schrieb:
>> hi ekke,
>>
>> thanks for your answer
>>
>> let me explain my scenario
>>
>> the application i'm developping is a hotline call managment (with call
>> crud and answers)
>> the server is accessing a database with hibernate . i've a got some
>> services available (ListActivescalls, saveCall, updateCall, ...)
>>
>> the client is an rcp application . it displays active calls, the user can
>> add new ones, close call, etc)
>>
>> of course there are more than one client, entering calls, closing calls ,
>> ...
>>
>> by example if one client enter a new call, i want it to be propagated to
>> the other clients, and the view displaying active calls will refresh
>> automatically (adding the new one)
>>
>> is it clearer ??
>>
>> i've tried to use some JMS messaging between server and clients. but in
>> my opinion it is a very heavy solution
>> i thought riena could provide some help in this case
>>
>>
>>
>>
>> "ekke" <ekkehard@gentz-software.de> wrote in message
>> news:g6c397$igq$1@build.eclipse.org...
>>> david,
>>>
>>> using Riena's Remote OSGI services you're using your own OSGI services
>>> at client site. you can use your service to do this.
>>> ...if I understand right what you want to do...
>>>
>>> ekke
>>>
>>> david schrieb:
>>>> hi,
>>>>
>>>> i'd like to know if there is a way for the riena server to inform
>>>> client.
>>>> with some event listener on the client
>>>>
>>>> in fact i'd like my clients to be informed by the server of some
>>>> modifications on my business objects
>>>>
>>>> i've browsed the CVS code but don't find clue about that. i don't think
>>>> object transaction is the thing i need
>>>>
>>>> TIA
>>>>
>>>> David
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
> David,
>
> I think what you want is to push data to the client. Its pretty much like
> the highly hyphed pushmail but for your case for your business objects. As
> you said, its a tough problem, because normally a client would poll for
> data and thats also actually the way Riena is built currently. You can use
> local OSGi Services or OSGi Services on a remote computer with the same
> API just if they were local. However remoting currently only works from
> client to server. So a client can call an OSGi Service on the server.
> Doing it the other way round is tricky but I dont think its impossible.
> Tricky parts are:
> - maintain a persistent connection to the client (which you normally dont)
> - find the right client (there is only one server so finding that one is
> easy but there could be 10000 clients for a RPC call)
> - and others
>
> To cut a long story short, we dont have it currently and have no date set
> when it could be done. Still its certainly an interesting topic.
>
> If you have any ideas of your own how to solve this problem, please share
> them with us. Riena is however meant to also work over the Internet with
> HTTP/HTTPs connections. That probably rules out JMS for us I guess (dont
> know JMS well enough)
>
> - christian
>
Re: event listener [message #573043 is a reply to message #6304] Fri, 25 July 2008 08:35 Go to previous message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

david,

using Riena's Remote OSGI services you're using your own OSGI services
at client site. you can use your service to do this.
....if I understand right what you want to do...

ekke

david schrieb:
> hi,
>
> i'd like to know if there is a way for the riena server to inform client.
> with some event listener on the client
>
> in fact i'd like my clients to be informed by the server of some
> modifications on my business objects
>
> i've browsed the CVS code but don't find clue about that. i don't think
> object transaction is the thing i need
>
> TIA
>
> David
>
>
>
>
>
>
>
>
Re: event listener [message #573068 is a reply to message #7554] Fri, 25 July 2008 16:11 Go to previous message
david leloup is currently offline david leloupFriend
Messages: 36
Registered: July 2009
Member
hi ekke,

thanks for your answer

let me explain my scenario

the application i'm developping is a hotline call managment (with call crud
and answers)
the server is accessing a database with hibernate . i've a got some services
available (ListActivescalls, saveCall, updateCall, ...)

the client is an rcp application . it displays active calls, the user can
add new ones, close call, etc)

of course there are more than one client, entering calls, closing calls ,
....

by example if one client enter a new call, i want it to be propagated to the
other clients, and the view displaying active calls will refresh
automatically (adding the new one)

is it clearer ??

i've tried to use some JMS messaging between server and clients. but in my
opinion it is a very heavy solution
i thought riena could provide some help in this case




"ekke" <ekkehard@gentz-software.de> wrote in message
news:g6c397$igq$1@build.eclipse.org...
> david,
>
> using Riena's Remote OSGI services you're using your own OSGI services at
> client site. you can use your service to do this.
> ...if I understand right what you want to do...
>
> ekke
>
> david schrieb:
>> hi,
>>
>> i'd like to know if there is a way for the riena server to inform client.
>> with some event listener on the client
>>
>> in fact i'd like my clients to be informed by the server of some
>> modifications on my business objects
>>
>> i've browsed the CVS code but don't find clue about that. i don't think
>> object transaction is the thing i need
>>
>> TIA
>>
>> David
>>
>>
>>
>>
>>
>>
>>
>>
Re: event listener [message #573083 is a reply to message #7576] Mon, 28 July 2008 07:57 Go to previous message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
david schrieb:
> hi ekke,
>
> thanks for your answer
>
> let me explain my scenario
>
> the application i'm developping is a hotline call managment (with call
> crud and answers)
> the server is accessing a database with hibernate . i've a got some
> services available (ListActivescalls, saveCall, updateCall, ...)
>
> the client is an rcp application . it displays active calls, the user
> can add new ones, close call, etc)
>
> of course there are more than one client, entering calls, closing calls
> , ...
>
> by example if one client enter a new call, i want it to be propagated to
> the other clients, and the view displaying active calls will refresh
> automatically (adding the new one)
>
> is it clearer ??
>
> i've tried to use some JMS messaging between server and clients. but in
> my opinion it is a very heavy solution
> i thought riena could provide some help in this case
>
>
>
>
> "ekke" <ekkehard@gentz-software.de> wrote in message
> news:g6c397$igq$1@build.eclipse.org...
>> david,
>>
>> using Riena's Remote OSGI services you're using your own OSGI services
>> at client site. you can use your service to do this.
>> ...if I understand right what you want to do...
>>
>> ekke
>>
>> david schrieb:
>>> hi,
>>>
>>> i'd like to know if there is a way for the riena server to inform
>>> client.
>>> with some event listener on the client
>>>
>>> in fact i'd like my clients to be informed by the server of some
>>> modifications on my business objects
>>>
>>> i've browsed the CVS code but don't find clue about that. i don't
>>> think object transaction is the thing i need
>>>
>>> TIA
>>>
>>> David
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
David,

I think what you want is to push data to the client. Its pretty much like the highly hyphed pushmail but for your case
for your business objects. As you said, its a tough problem, because normally a client would poll for data and thats
also actually the way Riena is built currently. You can use local OSGi Services or OSGi Services on a remote computer
with the same API just if they were local. However remoting currently only works from client to server. So a client can
call an OSGi Service on the server.
Doing it the other way round is tricky but I dont think its impossible.
Tricky parts are:
- maintain a persistent connection to the client (which you normally dont)
- find the right client (there is only one server so finding that one is easy but there could be 10000 clients for a RPC
call)
- and others

To cut a long story short, we dont have it currently and have no date set when it could be done. Still its certainly an
interesting topic.

If you have any ideas of your own how to solve this problem, please share them with us. Riena is however meant to also
work over the Internet with HTTP/HTTPs connections. That probably rules out JMS for us I guess (dont know JMS well enough)

- christian
Re: event listener [message #573112 is a reply to message #7597] Mon, 28 July 2008 09:26 Go to previous message
david leloup is currently offline david leloupFriend
Messages: 36
Registered: July 2009
Member
hi Christian,

i will investigate and try to find a light solution to this case

the first and easy one will be to activate an eclipse job at client-side to
refresh business objects and views
but that's not completly correct

thanks


"Christian Campo" <christian.campo@compeople.de> wrote in message
news:488D7BEC.4000106@compeople.de...
> david schrieb:
>> hi ekke,
>>
>> thanks for your answer
>>
>> let me explain my scenario
>>
>> the application i'm developping is a hotline call managment (with call
>> crud and answers)
>> the server is accessing a database with hibernate . i've a got some
>> services available (ListActivescalls, saveCall, updateCall, ...)
>>
>> the client is an rcp application . it displays active calls, the user can
>> add new ones, close call, etc)
>>
>> of course there are more than one client, entering calls, closing calls ,
>> ...
>>
>> by example if one client enter a new call, i want it to be propagated to
>> the other clients, and the view displaying active calls will refresh
>> automatically (adding the new one)
>>
>> is it clearer ??
>>
>> i've tried to use some JMS messaging between server and clients. but in
>> my opinion it is a very heavy solution
>> i thought riena could provide some help in this case
>>
>>
>>
>>
>> "ekke" <ekkehard@gentz-software.de> wrote in message
>> news:g6c397$igq$1@build.eclipse.org...
>>> david,
>>>
>>> using Riena's Remote OSGI services you're using your own OSGI services
>>> at client site. you can use your service to do this.
>>> ...if I understand right what you want to do...
>>>
>>> ekke
>>>
>>> david schrieb:
>>>> hi,
>>>>
>>>> i'd like to know if there is a way for the riena server to inform
>>>> client.
>>>> with some event listener on the client
>>>>
>>>> in fact i'd like my clients to be informed by the server of some
>>>> modifications on my business objects
>>>>
>>>> i've browsed the CVS code but don't find clue about that. i don't think
>>>> object transaction is the thing i need
>>>>
>>>> TIA
>>>>
>>>> David
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
> David,
>
> I think what you want is to push data to the client. Its pretty much like
> the highly hyphed pushmail but for your case for your business objects. As
> you said, its a tough problem, because normally a client would poll for
> data and thats also actually the way Riena is built currently. You can use
> local OSGi Services or OSGi Services on a remote computer with the same
> API just if they were local. However remoting currently only works from
> client to server. So a client can call an OSGi Service on the server.
> Doing it the other way round is tricky but I dont think its impossible.
> Tricky parts are:
> - maintain a persistent connection to the client (which you normally dont)
> - find the right client (there is only one server so finding that one is
> easy but there could be 10000 clients for a RPC call)
> - and others
>
> To cut a long story short, we dont have it currently and have no date set
> when it could be done. Still its certainly an interesting topic.
>
> If you have any ideas of your own how to solve this problem, please share
> them with us. Riena is however meant to also work over the Internet with
> HTTP/HTTPs connections. That probably rules out JMS for us I guess (dont
> know JMS well enough)
>
> - christian
>
Previous Topic:Milestone 1.0.0.M3
Next Topic:hessian 3.1.16
Goto Forum:
  


Current Time: Tue Mar 19 05:56:15 GMT 2024

Powered by FUDForum. Page generated in 0.02428 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top