my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes which on one is right choice for task  scheduling ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "which on one is right choice for task  scheduling ?" Watch "which on one is right choice for task  scheduling ?" New topic
Author

which on one is right choice for task scheduling ?

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 151
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


Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 559
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


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 151
can we use MDB for scheduling task
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8795

Kaleeswaran Karuppasamy wrote:can we use MDB for scheduling task


How? MDB's act upon a message and not on time.


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: which on one is right choice for task scheduling ?
 
Similar Threads
Timer Service - feedback, opinions, alternatives
EJB 3.0 Transaction Timeout annotation
Job Scheduling - EJB Timer Service vs Quartz Scheduler
EJB TimerService and Part 2
Scheduler application architecture