This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session object survival after server crash  RSS feed

 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it mean by following statement(ejb2.0 specs Section 6.1) :
Each session object has an identity which, in general, does not survive a crash and restart of the con-tainer,
although a high-end container implementation can mask container and server crashes to a remote client.

What does it mean by surviving after crash and restarting the server ? Is it related to state of a stateful session bean? does the previous state recovered? What happen to enetity beans after the crash???
[ August 28, 2003: Message edited by: Rashmi Tambe ]
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it mean by surviving after crash and restarting the server ? Is it related to state of a stateful session bean? does the previous state recovered? What happen to enetity beans after the crash???

If the server crashes the state of session bean is lost. The previous state is lost. Entity beans are persistent so survive crashes.
 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then what happens in following case?
although a high-end container implementation can mask container and server crashes to a remote client.
when the server starts after cras, does it create the session bean instance in above case?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use clustering it is possible to survive session bean crashes.
Read this
http://edocs.bea.com/wls/docs61/cluster/object.html#1006807
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!