A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Using TimerHandle interface
Joined: Jul 29, 2008
Nov 07, 2008 13:13:00
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
- a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like?
How to Ask a Question
Joined: Apr 27, 2008
Nov 09, 2008 17:03:00
It's designed for serializing timer objects. Note: TimerHandle extends java.io.Serializable while Timer does not.
SCJP 5 (98%) - SCBCD 5 (98%)
Joined: Jun 28, 2007
Jan 12, 2009 20:34:40
Can some one sight a practical scenario where the TimerHandle could be used ?
I agree. Here's the link:
subject: Using TimerHandle interface
when to use ActionListener interface
use of empty interface
doubt in treeset...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015