On Wed, 22 Aug 2001, Andreas Schaefer wrote:

> Hi Geeks
>
> When a client of an EJB can use RMI to access an EJB is it
> then also true that the EJB can use an RMI callback object
> (sent by the client) to send information back to the client ?

No, that does only work in certain situations .. if server and client
share the same network, for instance. It depends, if the server can reach
the client, it should be possible. If the client is behind a firewall /
proxy and / or there's something like SOCKS or NAT in between, it's not
possible at all.

As a rule of thumb, you can say YES for an intranet / extranet and NO for
connections through the internet.

> Let's say the client want to register an Event Listener on the
> EJB where then the events are sent back through the RMI call-
> back to the client.

Did you want to implement a cache, that is notified, when data on the
server's chaning ;-)

Holger


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to