A simple web service that demonstrates use of the Timer control. Uses the @jc:timer timeout= tag.
Use of a Timer control
Declaration and use of a client callback
Use of Conversations
This sample is located in the timer folder of the WebServices project in the SamplesApp sample application. In the file system the location is:
BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\timer\SimpleTimer.jws
To Run the Sample
BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh
Note: The setAlarm method uses the Timer control's restart method, so invoking setAlarm before the timer expires resets it so that it expires 5 seconds from the invocation of setAlarm.
Using WebLogic Built-In Controls
Designing Conversational Web Services
Using Callbacks to Notify Clients of Events
Testing Your Application with Test View