Which two statements are true?

A relational data model has three tables (Customer, Address, and Purchase). You are comparing
modeling these tables with CMP entity beans and JPA using an ORM tool. Which two statements
are true? (Choose two.)

A relational data model has three tables (Customer, Address, and Purchase). You are comparing
modeling these tables with CMP entity beans and JPA using an ORM tool. Which two statements
are true? (Choose two.)

A.
The JPA version contains fewer classes and interfaces.

B.
The CMP version contains fewer classes and interfaces.

C.
The JPA entity classes can be instantiated with the “new” statement.

D.
In JPA entity classes, data are accessed using abstract getter methods.

E.
Both CMP entity beans and JPA entity classes can be directly used as DAO classes.



Leave a Reply 0

Your email address will not be published. Required fields are marked *