EJB 3.0 offers simplified entity programming model. Which of the following describe these new simplified features with regard to EJB 3.0 and Java Persistence API?

  1. In EJB 3.0, persistent fields must be identified through deployment descriptor.

  2. The persistent state of an entity is represented either by its persistent fields or persistent properties.

  3. For an EJB 3.0 entity, you no longer need to code interfaces such as LocalAddressHome and LocalAddress.

  4. In the Java Persistence API, you do not not need to provide an XML descriptor to specify an entity's primary key.

  5. Java Persistence API is simplified by removing support for complex relationships between Entities.


Correct Option: B,C,D

Find more quizzes: