Two Laptop Bag
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

Using TimerHandle interface

Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3915

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 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:
subject: Using TimerHandle interface
It's not a secret anymore!