Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCEEJBD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB Certification (OCEEJBD)
Timer Instances
nitin pai
Ranch Hand
Posts: 185
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If Timer instances must not be serializable then how can they be persistant and survive container crashes?
Ulf Dittmer
Rancher
Posts: 43081
77
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I would guess that not the actual Timer objects are persisted, but all data that is needed to reconstruct them from scratch after a restart.
nitin pai
Ranch Hand
Posts: 185
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ulf, That is true. But say, when a container crashes, how would it retrieve the timer instance details if it had not been persisted, on a restart?
Ulf Dittmer
Rancher
Posts: 43081
77
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Why would the necessary data not have been persisted? That should be one of the first things it would do after the timer had been created.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Using TimerHandle interface
Stateless session bean
Polling Database Tables
Clock
Identifying instances
More...