Hi akm!

Sadly this does not work on WAS as they are using an ancient OpenWebBeans 
version. 
What is your final goal? Do you just like to use 
1.) an asynchronous thread as a parallel scheduler or 
2.) just start a short asynchronous task or
3.) do you like to use a real batch? 

I’m using WAS8 at some customers myself so don’t hesitate to ask further 
questions. Please note that WAS-8.5.5.3 seems to be the best version so far. 
Later versions have a few nasty bugs…

Back to the topic:
In the first case you might use @Startup @javax.ejb.Singjeton and start a timer 
via TimerService and @TimeOut method. You might also use @Scheduled on a 
@Singleton.

In the second case you should use an @Asynchronous wrapper. Of course you can 
always invoke CDI beans from those EJB wrappers!

In the third case you might look at Apache BatchEE which is a JBatch 
implementation which I have running fine on WAS. Ping me if you need help with 
setting this up.

hope that helps.

LieGrue,
strub
 

> Am 09.07.2015 um 18:36 schrieb akm <[email protected]>:
> 
> TimerBean-CDI-Integration.zip
> <http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/file/n4661027/TimerBean-CDI-Integration.zip>
>   
> 
> 
> Sample Project EAR... 
> 
> 
> 
> --
> View this message in context: 
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Start-Request-scope-manually-fro-a-worker-thread-asynchronous-thread-in-WAS8-tp4661026p4661027.html
> Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at 
> Nabble.com.

Reply via email to