This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Scheduling a job inside webapp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Scheduling a job inside webapp" Watch "Scheduling a job inside webapp" New topic
Author

Scheduling a job inside webapp

Anila Mathew
Ranch Hand

Joined: Jun 16, 2004
Posts: 69

Hi,

If my assignment said "Architecture should be based on JEE Platform", can I choose Quartz as the Scheduler ?Though third-party, it is a java-based api, right ?

Any other options to trigger a Java Timer task from a webapp?

Regards,
Anila.
Purna Manepalli
Greenhorn

Joined: Dec 19, 2012
Posts: 15
Hi Anila,

Even i have the same situation and got same doubt. I have used EJB timers and started the timer from controller startup.
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1280

Hi Anila,

if you can use JEE 6 / EJB 3.1 you could simply resort to the built-in Timer Service. It has a lot of features similar to Quartz (for example calendars and a Cron-like syntax) and it's very easy to use. Just have a look at the examples from Oracle's JEE tutorial ;-)

Marco
 
Consider Paul's rocket mass heater.
 
subject: Scheduling a job inside webapp
 
Similar Threads
Interaction between WebApp and Java
Design Patterns important for jobs and job interviews ?
compile time polymorphism?
JavaScript in the enterprise?
Learning about Setters and Getters