• 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

EJB Server Crashes

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All Ranchers,
I wanted to ask one question regarding EJB server crashing.
What will happen if one transaction is half way down and EJB server crashes.
1)All the EJB objects will get destroyed?
2)What will happen to the stateful session bean objects in the pool?
3)when you restart the server, every thing is going to be a fresh thing as if you have started the server for the first time.
Thanks
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JR Amit. Don't take it as a complete answer, but I think everything will be gone, toast. I think it is because the transaction did not get to be commited, so all the changes didn't get to be replicated to the DB or any persistant storage.
please correct me if I'm wrong
 
reply
    Bookmark Topic Watch Topic
  • New Topic