• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Server crash.

 
Hai Lin
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
28. Which are guaranteed by EJB 2.0?

A) Server crashes will be transparent to entity bean clients.
B) Server crashes will be transparent to stateless session bean clients.

The correct answer is A, any one coule give me explanation.
Thanks a lot.

Hai
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hai Lin:
28. Which are guaranteed by EJB 2.0?

A) Server crashes will be transparent to entity bean clients.
B) Server crashes will be transparent to stateless session bean clients.

The correct answer is A, any one coule give me explanation.
Thanks a lot.

Hai


That one troubled me also. The bottom line is that following the specs, entity beans (pls note: not entity bean instances) will survive a container crash, because entity bean are a 'logical' representation of the underlying persistence storage (read db) and if your container crashes, your data don't, and because entity bean are on OO view of your data, they survive either.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic