Oracle
1Z0-807 · Question #42
Your company is considering migrating a persistence module, originally implemented as CMP entity beans, to now use JPA . Which two statements are true?
The correct answer is A. Each CMP entity bean can be mapped to a single JPA entity class. D. The resulting IPA persistence module can be used on both the client and the server. See the full explanation below for the reasoning.
Question
Your company is considering migrating a persistence module, originally implemented as CMP entity beans, to now use JPA . Which two statements are true?
Options
- AEach CMP entity bean can be mapped to a single JPA entity class.
- BThe client code that accesses the CMP entity beans does not have to change.
- CIPA cannot capture all the kinds of relationships supported by CMP entity beans.
- DThe resulting IPA persistence module can be used on both the client and the server.
- EThe JNDI name of a JPA entity class can be customized to match that of the corresponding CMP
- FRemote clients of the CMP entity beans must start using web services to access the JPA entity
How the community answered
(59 responses)- A83% (49)
- C3% (2)
- E5% (3)
- F8% (5)
Community Discussion
No community discussion yet for this question.