users@glassfish.java.net

Re: How to invoke Client Callback Handler from EJB3 Session Bean

From: Miroslav Nachev <miro_at_space-comm.com>
Date: Sun, 18 May 2008 01:33:41 +0300

Hi,

But this mechanism is already implemented in GlassFish for LoginModule
on server side and GUI LoginDialog for client side. Unfortunately it is
very complex and that's why I need of help. I need just to know which
method of which class for server side produce the call and which method
received that call from client side. Just that. The rest is simple.


Miro.

glassfish_at_javadesktop.org wrote:
> Actually, we should stop speaking about client and server in this case. The client is by definition the caller and the server the callee. What you want is server-server communication. This is possible with RMI: the "client" can export a "notification" object when it starts. The "client" can then call the "server" and pass a remote reference of the "notification" object. The "server" can then broadcast event to all registered clients (It's maybe not exactly like this, but we do have such a solution for a RMI client-server application that need to be sometimes notified by the server side). But I fear that it's not possible with IIOP.
> [Message sent by forum member 'ewernli' (ewernli)]
>
> http://forums.java.net/jive/thread.jspa?messageID=275025
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>