File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 3090
    
  40

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
What would SCJP exam questions look like? -- Home -- Twitter -- 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