Meaningless Drivel is fun!*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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: 154
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: 580
    
    5
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: 154
can we use MDB for scheduling task
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

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, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
wood burning stoves
 
subject: which on one is right choice for task scheduling ?