The persistence of Person and Address information in an application is implemented via BMP entity beans. Each Person must have exactly one Address. If a Person contains the primary key for Address in a persistent field, how should you implement the Person

  1. The ejbRemove() method of Person invokes the remove() method of Address.

  2. The ejbStore() method of Person invokes the ejbStore() method of Address.

  3. The ejbPassivate() method of Person invokes the ejbPassivate() method of Address.

  4. The ejbLoad() method of Person invokes the findByPrimaryKey() method of Address-Home.

  5. The ejbLoad() method of Person invokes the ejbLoad() method of Address.


Correct Option: A,E

Find more quizzes: