-
-
-
-
What is the difference between ejbStore() and ejbLoad()
Answered by Jey on 2005-05-08 11:06:46: When the EJB container needs to synchronize the instance variables of an entity bean with the corresponding values stored in a database, it invokes the ejbLoad and ejbStore methods. The ejbLoad method refreshes the instance variables from the database, and the ejbStore method writes the variables to the database. The client cannot call ejbLoad...
-
Does Stateful Session bean support instance pooling
Answer posted by Mohan on 2005-05-21 19:24:23: All Beans support Instance Pooling
-
-
-
Why are ejbActivate() and ejb Passivate() included for stateless session bean even though they are never required as it is nonconversational bean
To have a consistent interface, so that there is no different interface that you need to implement for Stateful Session Bean and Stateless Session Bean. Both Stateless and Stateful Session Bean implement javax.ejb.SessionBean and this would not be possible if stateless session bean is to remove ejbActivate and ejbPassivate from the interface. You could argue that the two (stateful and stateless) are...
-
-
-
-
-
-
What is abstract schema
Answer posted by Mohan on 2005-05-21 18:34:01: CMP uses abstract schema to map to the physical database
-
-
-
-
-
-
What is the difference between CMP 1.1 and CMP 2.0
Answer posted by Mohan on 2005-05-21 17:15:36: CMR and sub classing of the CMP bean by the container
EJB Interview Questions
Ans