users@woodstock.java.net

Re: Progress bar + EJB as back bean

From: Felipe Jaekel <fkjaekel_at_gmail.com>
Date: Wed, 10 Sep 2008 09:44:21 -0300

I have a stateless session bean injected in a AbstractPageBean. I'm binding
the vales the same way I did when using a session managed bean. Debugging
the application I can see that the refresh thread is accessing a different
instance of the EJB, so the only time the component is actually refreshed is
when the task is completed.

Any ideas?

Thanks,
Felipe

2008/9/9 Federico Vela <fvela_at_paysett.com>

> I have done this and it works nicely, have your processing ejb update the
> progress bar variables through a progress bar facade EJB, and have a
> separate page (im going to try for a popup) that displays the progress bar
> through a separate bean, and updates every few seconds.
>
> Federico Vela
>
>
>
>
> Felipe Jaekel wrote:
>
>> I'm using an EJB to process business logic from a page.
>>
>> I'd like to use a progress bar, is it possible?
>>
>> I've used the same logic from a JSF Managed Session Bean and it doesn't
>> work. It seems that the component threads creates new EJB instances. I've
>> tried with Stateless and Stateful.
>>
>> Thanks for any help,
>> Felipe
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>