Oracle 1Z0-860 Online Practice
Questions and Exam Preparation
1Z0-860 Exam Details
Exam Code
:1Z0-860
Exam Name
:Java Enterprise Edition 5 Business Component Developer Certified Professional
Certification
:Oracle Certifications
Vendor
:Oracle
Total Questions
:305 Q&As
Last Updated
:May 25, 2026
Oracle 1Z0-860 Online Questions &
Answers
Question 141:
Given a set of CMT bean methods with the following transaction attributes: Method M1=SUPPORTS Method M2=REQUIRED Method M3=NOT_SUPPORTED Method M4=REQUIRES_NEW And the following method invocation sequence: Method M1 invokes Method M2 Method M2 invokes Method M3 Method M1 invokes Method M4 If Method M1 is invoked by a method that does NOT have a transaction context, which describes a possible scenario?
A. Method M1notransaction MethodM2new transaction Method M3no transaction MethodM4newtransaction B. Method M1notransaction Method M2Container throws EJBTransactionRequiredException C. MethodM1new transaction Method M2runs in same transaction as M1 Method M3Container throws TransactionNotSupportedException D. Method M1no transaction Method M2new transaction Method M3Container throws TransactionNotSupportedException
A. Method M1notransaction MethodM2new transaction Method M3no transaction MethodM4newtransaction
Question 142:
Given two entities with a many-to-many bidirectional association between them:
What set of annotations correctly defines the association?
A. @ManyToMany on the projects field, @ManyToMany(mappedBy="projects") on the emps field B. @ManyToMany(mappedBy="emps") on the projects field, @ManyToMany on the emps field C. @ManyToMany(targetEntity=Project.class) on the projects field, @ManyToMany(mappedBy="projects") on the emps field D. @ManyToMany(targetEntity=Project.class) on the projects field, @ManyToMany on the emps field
C. @ManyToMany(targetEntity=Project.class) on the projects field, @ManyToMany(mappedBy="projects") on the emps field
Question 143:
A developer wants to create a business interface for both local and remote usage. For performance reasons the remote interface should NOT be called by a client in the same JVM. Which statement is required to accomplish this, assuming there is no deployment descriptor?
A. The business methods are defined in one interface which must be annotated with both @Local and @Remote. B. The business methods are defined twice in one interface. One method is annotated with @Local and the other is annotated with @Remote. C. The business methods are defined in a common interface by two other interfaces which are annotated with @Local and @Remote respectively. The bean implements the super interface. D. The business methods are defined in a common interface. It is extended by two interfaces, annotated with @l_ocal and @Remote respectively. Both interfaces are implemented by the bean class.
D. The business methods are defined in a common interface. It is extended by two interfaces, annotated with @l_ocal and @Remote respectively. Both interfaces are implemented by the bean class.
Assuming no other transaction-related metadata, which is true?
A. methodBand methodC have transaction attribute SUPPORTS, while methodD has transaction attribute REQUIRED. B. methodAand methodChavetransaction attribute REQUIRES_NEW, while methodB has transaction attribute SUPPORTS. C. methodC, methodD, and methodA havetransactionattribute REQUIRED, andmethod Bhastransactionattribute SUPPORTS. D. methodB has transaction attribute SUPPORTS, methodD has transaction attribute REQUIRED, and methodAandmethodC have transaction attribute REQUIRES NEW.
C. methodC, methodD, and methodA havetransactionattribute REQUIRED, andmethod Bhastransactionattribute SUPPORTS.
Which deployer action permits a user authenticated as "John" to call both methodA on SecureBeanOl and methodB on SecureBean02?
A. The deployer maps both role "ADMIN"androle "administrator" to user "John". B. Thedeployerreplaces"administrator"by "ADMIN" in thesource code of SecureBean02and maps"ADMIN" to user "John". C. The deployer overrides the method permission of SecureBean02. methodBintheejbjar. xmldeployment descriptor and maps"ADMIN"to user "John". D. The deployer defines a common role and maps role "ADMIN" and role "administrator" using security-role-ref entries to this role. This common role is mapped to user "John1
A. The deployer maps both role "ADMIN"androle "administrator" to user "John".
Question 146:
A developer needs to deliver a large-scale enterprise application that connects to legacy systems. If the developer chooses an EJB 3.0-compliant application server, which three are true about the EJB business component tier? (Choose three.)
A. Load-balancing is NOTaguarantee forallEJB 3.0 containers. B. Clustering is guaranteed tobe supported by theEJB 3.0 container. C. Thread pooling can be optimizedbythe BeanProviderprogrammatically. D. Bean Providers are NOT required towritecode for transaction demarcation. E. Support for server fail-over is guaranteedforan EJB 3.0-compliant application server. F. EJB3.0-compliantcomponentsare guaranteed to workwithinanyJavaEE5 application server.
A. Load-balancing is NOTaguarantee forallEJB 3.0 containers. D. Bean Providers are NOT required towritecode for transaction demarcation. F. EJB3.0-compliantcomponentsare guaranteed to workwithinanyJavaEE5 application server.
Question 147:
Which two are programming restrictions in the EJB 3.0 specification? (Choose two.)
A. An enterprisebean must NOTattempttoloadanative library. B. An enterprise bean must NOT declare static fieldsasfinal. C. An enterprisebeanmust NOTattemptto createa newsecurity manager. D. An enterprise bean mustNOTpropagate a RuntimeExceptiontothe container. E. An enterprise bean must NOTattemptto obtain ajavax.naming. InitialContext.
A. An enterprisebean must NOTattempttoloadanative library. C. An enterprisebeanmust NOTattemptto createa newsecurity manager.
Question 148:
Which statement is true about both stateful session beans and stateless session beans?
A. Bean instances are NOT required to survive container crashes. B. Any bean instance must be able to handle concurrent invocations from different threads. C. A bean with bean-managed transactions must commit or roll back any transaction before returning from a business method. D. The container passivates and activates them using methods annotated with @PrePassivate and @PostActivate annotations.
A. Bean instances are NOT required to survive container crashes.
Question 149:
Given the following client-side code that makes use of the session bean Foo:
10.
@EJB Foo beanl;
11.
@EJB Foo bean2; //more code here
20.
booleantestl = beanl.equals(beanl);
21.
booleantest2 = beanl.equals(bean2);
Which two statements are true? (Choose two)
A. A. IfFoo is stateful, testl is true, and test2 is true, B. If Foo is stateful, testl is true, and test2 is false, C. If Foo is stateless, testl is true, and test2 is true. D. If Foo is stateful, testl is false, and test2 is false, E. If Foo is stateless, testl is true, and test2 is false. F. If Foo is stateless, testl is false, and test2 is false
B. If Foo is stateful, testl is true, and test2 is false, C. If Foo is stateless, testl is true, and test2 is true.
Question 150:
A developer is required to declare a persistent entity named Truck to map to a database table VEHICLE. Which entity class declaration is correct, assuming there is NO mapping descriptor?
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Oracle exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your 1Z0-860 exam preparations
and Oracle certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.