users@glassfish.java.net

How to invoke Client Callback Handler from EJB3 Session Bean

From: Miroslav Nachev <miro_at_space-comm.com>
Date: Thu, 08 May 2008 01:49:52 +0300

Hi,

During some business logic in EJB3 session bean I need to ask the client
(Swing GUI Client using JNLP) for some additional information using
custom Swing Dialog Form. My questions are:
1. How can I invoke my own Callback Handler from EJB3 session bean? The
callback handler is specified in "application-client.xml" as follow:
    
<callback-handler>com.cosmos.acacia.callback.AcaciaCallbackHandler</callback-handler>
2. Are there another ways to do the above? My question is related with
the requirement of common using of Security Login Dialog and Custom
Dialog and some potential conflict(s).


Regards,
Miro.