27. Which will survive an EJB server crash? (choose all that apply) A) Stateful session bean instances B) Stateless session bean instances C) Message-driven bean instances D) An entity bean's primary key E) An entity My answer is E, but the mock exam answer is D. What do you think?
The entity in the underlying persistent store should always survive a server crash. Furthermore, an entity bean will survive a server crash if the entity still exists and the bean type is still deployed.
Sujatha Kumar; You did not give any reasons why you choosed D as the answer. Personally, I think E is one of the answers even if D is right because an entity resides in a persistent storage and as a result should survive a server crash. Somehow D could be inferred from E, since an entity in a relational data base must have a primary key.