Tag Archives: 1Z0-860 Dumps

OFFER Free Oracle 1Z0-860 PDF and VCE Exam Dumps

Vendor: Oracle
Exam Code: 1Z0-860
Exam Name: Java Enterprise Edition 5 Business Component Developer Certified Professional Exam

Given the following stateful session bean:
10. @Stateful
11. @TransactionAttributefJransactionAttributeType. SUPPORTS)
12. public class VideoBean implements Video {
13. // insert code here
14. public void methodAO {}

Assuming no other transaction-related metadata, which code can be added at Line 13 to guarantee that business method methodA will execute only if invoked with an active transaction?

A.    @TransactionAttributefJ
B.    @TransactionManagement(TransactionAttributeType. CONTAINER)
C.    @TransactionAttribute(TransactionAttributeType.MANDATORY)
D.    @TransactionAttributeO"ransactionAttributeType.REQUIRES_NEW)

Answer: C

Read more