|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. |
See:
Description
Class Summary | |
ClientTimer | This class illustrates use of client-side timers. |
ServerTimer | This application connects to a WebLogic Server, and schedules a recurring trigger that executes on the server. |
This package contains two applications that illustrate how to use timers in WebLogic Server. One is a client-side application, and the other uses a server-side timer. In both cases the triggered action is carried out by WebLogic Server.
Perform the following steps in order to build and run the examples:
$ javac -d %CLIENT_CLASSES% ClientTimer.java
$ javac -d %SERVER_CLASSES% ServerTimer.java
$ java examples.time.ClientTimer t3://localhost:7001 $ java examples.time.ServerTimer t3://localhost:7001
The ClientTimer example prints results in your development shell. The ServerTimer example prints results in the WebLogic Server log output.
Read the developer's guide for this API, Using WebLogic Time.
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |