-
1. Re: Annotation @Asynchronous doesn't work as expected
zeeman Dec 1, 2011 6:00 PM (in response to netsrac)You need jboss 7.1.
Jboss 7.0.2+ might work.
-
2. Re: Annotation @Asynchronous doesn't work as expected
lightguard Dec 1, 2011 6:27 PM (in response to netsrac)You're correct Zee, you should try this on 7.1 Beta, 7.0.2 didn't have any of the async stuff.
-
3. Re: Annotation @Asynchronous doesn't work as expected
jboga Dec 6, 2011 6:35 AM (in response to netsrac)May be you don't need
the Asynchronous has meant by EJB, but only a simple Asynchronous call to achieve a long work as you may have done with your own thread.
Try to use the Seam Cron module with its own @Asynchronous annotation.
It's very simple. -
4. Re: Annotation @Asynchronous doesn't work as expected
zeeman Dec 6, 2011 10:37 PM (in response to netsrac)Seam Cron is broken, it also needs the app server to support @Async, I already tried it. Not much development activity on Seam Cron. It has been in Alpha stage for many months as far as I know.
Jeremy Bogatirsky wrote on Dec 06, 2011 06:35:
May be you don't need
the Asynchronous has meant by EJB, but only a simple Asynchronous call to achieve a long work as you may have done with your own thread.
Try to use the Seam Cron module with its own @Asynchronous annotation.
It's very simple.Click HELP for text formatting instructions. Then edit this text and check the preview.
-
5. Re: Annotation @Asynchronous doesn't work as expected
jboga Dec 7, 2011 5:33 AM (in response to netsrac)I'm actually using the @Asynchronous annotation provided by Seam Cron, and it works quite well.
What do you mean by 'Seam Cron is broken' ?
Zee Zain wrote on Dec 06, 2011 22:37:
Seam Cron is broken, it also needs the app server to support @Async, I already tried it. Not much development activity on Seam Cron. It has been in Alpha stage for many months as far as I know.
Jeremy Bogatirsky wrote on Dec 06, 2011 06:35:
May be you don't need
the Asynchronous has meant by EJB, but only a simple Asynchronous call to achieve a long work as you may have done with your own thread.
Try to use the Seam Cron module with its own @Asynchronous annotation.
It's very simple. -
6. Re: Annotation @Asynchronous doesn't work as expected
zeeman Dec 7, 2011 4:33 PM (in response to netsrac)I used it few months ago, and removed it. I just wanted to run a method in a different thread, simple usecase. Seam Cron did not work. Method ran on the same thread. I asked here and the verdict was to wait till AS 7 supported @Async.
Which version of Cron are you using?
Jeremy Bogatirsky wrote on Dec 07, 2011 05:33:
I'm actually using the @Asynchronous annotation provided by Seam Cron, and it works quite well.
What do you mean by 'Seam Cron is broken' ?
Zee Zain wrote on Dec 06, 2011 22:37:
Seam Cron is broken, it also needs the app server to support @Async, I already tried it. Not much development activity on Seam Cron. It has been in Alpha stage for many months as far as I know.
Jeremy Bogatirsky wrote on Dec 06, 2011 06:35:
May be you don't need
the Asynchronous has meant by EJB, but only a simple Asynchronous call to achieve a long work as you may have done with your own thread.
Try to use the Seam Cron module with its own @Asynchronous annotation.
It's very simple.Click HELP for text formatting instructions. Then edit this text and check the preview.