Calling client method from RMI server.

Hi,

I have a RMI server object called remote, and RMI client object TV.

I would like to control TV object from server. Can any body give some idia?

Can I user observalbe/Observer? if so how should I use?

Else please specify any other way to call client method from server side.

Thanx,

Dina

[332 byte] By [dhinakaran_apeca] at [2007-10-3 8:06:07]
# 1
This is called a 'callback'. It's just RMI back-to-front. The client exports an RMI remote object and passes it to the server as a parameter. The server calls it when it wants to.
ejpa at 2007-7-15 3:09:57 > top of Java-index,Core,Core APIs...
# 2
Its grate ejp, I had been searching for the word... 'Callback'thank you very much,dina
dhinakaran_apeca at 2007-7-15 3:09:57 > top of Java-index,Core,Core APIs...
# 3
may visit http://www.ryerson.ca/~dgrimsha/courses/cps841/RMICallbacks.html-Sazib
sazib.rahmana at 2007-7-15 3:09:57 > top of Java-index,Core,Core APIs...