File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Help: About the Timer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Help: About the Timer" Watch "Help: About the Timer" New topic
Author

Help: About the Timer

Ying Ren
Ranch Hand

Joined: May 24, 2002
Posts: 35
I try to use the Timer in my booking method. I am still confused at the definition:
A facility for threads to schedule tasks for future execution in a background thread

Is it means that the Timer is a seperate thread which will not influenced by the Exception thrown by the readRecord or modify(),and will not terminated? If so, I think it is no need to use thread in this method. Am I right?
Ying Ren
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

A facility for threads to schedule tasks for future execution in a background thread

That line is not in my requirements, and I am sure it's not part of yours. Let me give you a piece of good advice: don't bother with the "scheduling tasks for future execution", -- you will make a perfect score without it.
Eugene.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help: About the Timer