|
|
CommonJ
Timer and Work Manager for Application Servers
The Timer and Work Manager for Application Servers specification is a joint BEA-IBM
specification (see BEA and IBM Joint Specifications
Overview).
Specifications and Resources
This specification is being made available on an RF basis (as detailed in the
Copyright notice of the specification); therefore, BEA does not require an implementation
license. If you prefer, however, you may request a license from BEA to implement
the specification.
Overview
The Timer and Work Manager for Application Servers specification provide J2EE
programmers with often-needed utilities. The Work Manager provides a simple API
for application-server-supported concurrent execution of work items. This enables
J2EE-based applications (including Servlets and EJBs) to schedule work items
for concurrent execution, which will provide greater throughput and increased
response time. After an application submits work items to a Work Manager for
concurrent execution, the application can gather the results. The Work Manager
provides common "join" operations, such as waiting for any or all work items
to complete. The Work Manager for Application Servers specification provides
an application-server-supported alternative to using lower-level threading APIs,
which are inappropriate for use in managed environments such as Servlets and
EJBs, as well as being too difficult to use for most applications.
The Timer API included by this specification provides a simple API for setting
timers in an application-server-supported fashion. This enables J2EE-based
applications (including Servlets, EJBs, and JCA Resource Adapters) to schedule
future timer notifications and receive timer notifications. The Timer for Application
Servers specification provides an application-server-supported alternative
to using the J2SE java.util.Timer class, which is inappropriate for use in
managed environments such as Servlets and EJBs.
Feedback
We'd like to hear what you think about Timer for Application Servers! Please
send feedback.
|
|