Using Other J2EE Resources

When you deploy Quartz within the J2EE container, you can take advantage of other resources available to the J2EE components. For example, if you need to send e-mails, one approach would be to use the Quartz SendMailJob, which relies on JavaMail. Another approach you can take if you deploy Quartz within the container is to use the mail session that should be readily available for all J2EE servers, assuming that you've set one up. That's another one of the benefits of deploying Quartz as a J2EE client.

InitialContext initialContext = new InitialContext();
Session session = (Session)

Message msg = new MimeMessage(session);
// ... build up msg

Scheduling in the Enterprise

Getting Started with Quartz

Hello, Quartz

Scheduling Jobs

Cron Triggers and More

JobStores and Persistence

Implementing Quartz Listeners

Using Quartz Plug-Ins

Using Quartz Remotely

Using Quartz with J2EE

Clustering Quartz

Quartz Cookbook

Quartz and Web Applications

Using Quartz with Workflow

Appendix A. Quartz Configuration Reference

Quartz Job Scheduling Framework(c) Building Open Source Enterprise Applications
Quartz Job Scheduling Framework: Building Open Source Enterprise Applications
ISBN: 0131886703
EAN: 2147483647
Year: N/A
Pages: 148 © 2008-2020.
If you may any questions please contact us: