This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Server Crashes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "EJB Server Crashes" Watch "EJB Server Crashes" New topic
Author

EJB Server Crashes

Amit Kumar Jain
Greenhorn

Joined: Aug 29, 2003
Posts: 1
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
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
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


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: EJB Server Crashes
 
Similar Threads
Consequences to a bean in process when connectivity with App Server is lost!!
Session Management in Clustering
Indian Market!!! oopssssssss going down
implement page counter
Server crashes will be transparent to entity bean clients?