Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which on one is right choice for task scheduling ?

 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my application job scheduling is most important ,we are about to use glassfish so i confused to choose ejb timer,jmx timer ,qautz for scheduling

please suggest me we are using ejb in our application which is the right choice to implement scheduling process
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaleeswaran,

FYI, we discuss these choices in the Timer section of EJB 3 in Action. To make a rough statement, Quartz or the application server's scheduling support is probably right for about 80% of real world cases. This will change in EJB 3.1 because it adds cron-like scheduling support which is a lot simpler than either of these existing options and is standards based/vendor neutral.

Best regards,
Reza
 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we use MDB for scheduling task
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaleeswaran Karuppasamy wrote:can we use MDB for scheduling task


How? MDB's act upon a message and not on time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic