• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

session object survival after server crash

 
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 8943
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 8943
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic