O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

31 Scheduling Recurring Jobs from a Web Application

Managing recurring tasks is a key requirement for enterprise applications. For instance, you might need to collect payments from your customers every week, generate a report for payroll on the first day of every month, etc. How do you do it? Well, you can require your users to click on the Collect payment manually every week. But good enterprise software is all about automatizing away those tedious, error-prone, manual tasks. We must allow a user say Collect payment every week once, and the server should take it over from now on.

However, an issue with web applications is that their interaction model is too much request/response focused. Every action the server takes is the result ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required