Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9760

Re: how to launch asynchronous/background task

$
0
0

Sorry Vincenzo, I somehow missed your response.

 

Sure, you can use the TimerService.createTimer(long duration, java.io.Serializable info) method and pass 0 as duration. The info object can be any Serializable object, which you can then get from the Timer passed to the EJB @Timeout method.

 

HTH!

 

--Vlado


Viewing all articles
Browse latest Browse all 9760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>