Which statement is true about Container Managed Persistence (CMP) and the introduction of
Java Persistence API?
A. It is possible within the same application to combine
EJB CMP entity beans with new EJB's utilizing Java Persistence API.
B. You are unable to combine earlier EJB CMP entity beans with newer EJB components utilizing Java Persistence API.
C. EJB CMP entity beans API is simpler but provides less features than the Java Persistence API.
D. You are required to migrate applications using EJB CMP entity beans to the Java Persistence API.
Option A is correct.
Option B is incorrect because with Java Persistence API you are able to combine earlier EJB CMP entity beans with newer EJB components utilizing Java Persistence API.
Option C is incorrect because Java Persistence API is simpler and provides more features.
Option D is incorrect because you are not required to migrate applications that utilize CMP entity beans.
How comes answer D is incorrect, if you are moving to JPA from CMP then you have to migrate but the answer says you are not required to migrate.