Which of the following is TRUE concerning CMP entity bean activation and passivation? A. Storage of persistent state to the database is handled automatically by the EJB container during passivation. B. A client must explicitly activate a bean that has been passivated. C. Clients do not directly communicate with a bean and are unaware of activation and passivation. D. Transient fields are handled explicitly by activation and passivation. A and C seem right to me. Maybe the wording of A is not right??? Any thoughts?
<i><br />Sun Certified Programmer for Java 2 Platform (SCJP)<br />Sun Certified Developer for Java 2 Platform (SCJD)<br />Sun Certified Web Component Developer for Java2 Platform, Enterprise Edition (SCWCD)<br />Sun Certified Business Component Developer for Java2 Platform, Enterprise Edition (SCBCD)<br />Sun Certified Enterprise Architect for J2EE (SCEA)<br />IBM Certified Enterprise Developer, WebSphere Studio V5.0<br /></i>
Hi, B and C are correct. I am not sure about D. But A is incorrect because in entity beans poolint concept exists, so during passivation of the bean instance, the data is written to some kind of storage like the file system but not in the database.