aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Using TimerHandle interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Using TimerHandle interface" Watch "Using TimerHandle interface" New topic
Author

Using TimerHandle interface

Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885
    
  13

I'm confused about javax.ejb.TimeHandler interface

I understood how to use TimeHandler, but I don't know why should we use this interface. It just appears as a wrapper for Timer instances.

Can anyone explain this?


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
Ralph Jaus
Ranch Hand

Joined: Apr 27, 2008
Posts: 342
It's designed for serializing timer objects. Note: TimerHandle extends java.io.Serializable while Timer does not.


SCJP 5 (98%) - SCBCD 5 (98%)
Sudarshan Sreenivasan
Ranch Hand

Joined: Jun 28, 2007
Posts: 188

Can some one sight a practical scenario where the TimerHandle could be used ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Using TimerHandle interface
 
Similar Threads
doubt in treeset...
use of empty interface
Interface
when to use ActionListener interface
EJBObject question.