Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there scheduled threads available in JEE 5?

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends
Is there any scheduled thread concept in JEE5. Like something I can use to execute background tasks?. I know of EJB Timer API, But not sure is there anything like Quartz available in JEE 5 itself?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are the following things available in java 5:
  • ScheduledThreadPoolExecutor
  • Timer

  • I am not sure that they are as comprehensive as Quartz but they may meet your basic requirements.
     
    Are you okay? You look a little big. Maybe this tiny ad will help:
    the new thread boost feature: great for the advertiser and smooth for the coderanch user
    https://coderanch.com/t/674455/Thread-Boost-feature
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!