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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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: 3013
    
  35

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?


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using TimerHandle interface
 
Similar Threads
use of empty interface
EJBObject question.
Interface
doubt in treeset...
when to use ActionListener interface