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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply Bookmark "Using TimerHandle interface" Watch "Using TimerHandle interface" New topic
Author

Using TimerHandle interface

Devaka Cooray
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2691
    
    3

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 (Download) - the free mock exam kit for SCJP / OCPJP
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%)
sid sree
Ranch Hand

Joined: Jun 28, 2007
Posts: 186
Can some one sight a practical scenario where the TimerHandle could be used ?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Using TimerHandle interface
 
Similar Threads
use of empty interface
EJBObject question.
Interface
when to use ActionListener interface
doubt in treeset...