users@glassfish.java.net

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

From: Miroslav Nachev <miro_at_space-comm.com>
Date: Thu, 8 May 2008 03:14:46 +0300

Hi,

My target is not to do additional authentication. My target is to create
custom Callback Handle mechanism with which to retrieve additional
information related with some business process. For example if one session
bean calculate the needed products in one offer and there are some options
for color which is not specified preliminary. In that case the EJB3 session
bean need to ask the user with custom Swing Dialog form which color to use.


Regards,
Miro.

On Thu, May 8, 2008 at 2:33 AM, <glassfish_at_javadesktop.org> wrote:

> Hello, Miro.
>
> The callback handler is invoked automatically by the app client container
> (on the client side) when authentication is needed to first access a guarded
> resource on the back-end (such as an EJB).
>
> Once the EJB is running its business logic on behalf of the client, that
> authentication has already completed and there is no mechanism for the EJB
> itself to reactivate the callback handler to prompt for additional
> information.
>
> I don't think I clearly understand what you are trying to accomplish. Is
> the EJB in question one that does not require authentication, and then as it
> runs does it discover the need to do some additional processing that does
> require authentication?
>
> - Tim
> [Message sent by forum member 'tjquinn' (tjquinn)]
>
> http://forums.java.net/jive/thread.jspa?messageID=273230
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>