Multiple Choice
Which statement is correct about the EntityManager API?
A) The merge, persist, remove, and getReference methods must be invoked within a transaction context.
B) It is safe (no exception is thrown) to call merge or getTransaction on a JTA EntityManager instance.
C) The getReference method can throw an EntityNotFoundException.
D) Runtime exceptions thrown by the refresh and createQuery methods of the EntityManager interface do NOT cause the transaction to be rolled back.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which of the following allows substitution of
Q2: Which statement is true for the Class
Q3: Business delegate pattern<br>A) Hides remote services complexity<br>B)
Q4: Which of the following regarding business methods
Q6: Stateful Session beans contain<br>A) Home Interface<br>B) Remote
Q7: Which method of the request object is
Q8: Which of the following property of Java
Q9: Which of the following is not an
Q10: Given the following code in a stateful
Q11: Which of the following is true?<br>A) Preserving