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 131:

    A Java Persistence application uses entities mapped to tables from two datasources in the same transaction. What statement is correct?

    A. This is NOT possible.
    B. The entities mustbepackaged into two persistence units.
    C. The entitiescanbe packaged intoa singlepersistence unit
    D. Theentities must be packaged usingtwo differentpersistence.xml files.

  • Question 132:

    Using bean-managed transaction demarcation, under which two circumstances must the container roll back a transaction? (Choose two.)

    A. A stateful session bean invokes UserTransaction.getRollbackOnly.
    B. A stateful session bean throws an uncaught application exception from a business method.
    C. A stateful session bean begins a transaction in a business method but does NOT complete it before returning.
    D. A stateless session bean begins a transaction in a business method but does NOT complete it before returning.
    E. A message-driven bean begins a transaction in a message listener method but does NOT complete it before returning.

  • Question 133:

    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.

  • Question 134:

    A developer wants to create a portable EJB 3.0 application that includes the following class definition for the Entity Account: 11.©Entity

    12.

    @Entityl_isteners(com. acme.AlertMonitor. class)

    13.

    public class Account {

    14.

    // more code here

    15.

    @PrePersist

    16.

    protected void validateCreate0 {/* more code here */} 17.} Which statement is correct?

    A. The validateCreate method may NOT throwruntimeexceptions.
    B. ThevalidateCreate method can invoke the EntityManager.flush operation.
    C. Methods oftheclass com.acme.AlertMonitor annotatedwithcallback annotationsmusttake an Object or Account instance astheonly argument.
    D. The above class definition is NOT correct. An entity cannot defineacallback methodlike PrePersistand use the EntityListeners annotationatthe same time.

  • Question 135:

    A developer implemented a Java class called Store. The class is annotated correctly to act as an entity. The developer created a stateless session bean to create, lookup, and remove Store objects. This session bean has a container-

    managed entity manager injected into field em and a removeStore method with transaction attribute REQUIRED.

    Given the following code :

    32.

    public void re move St ore (St ore store) {

    33.

    em.remove(store); 34.}

    What is a possible reason that an HlegalArgumentException is thrown at Line 33 when the removeStore method is called by a remote client?

    A. Thepassedobject is NOT serializable.
    B. Thepassed object is NOT found inthedatabase.
    C. The passed object is NOT managed by the entity manager.
    D. There is no active transaction to manage the database removal.

  • Question 136:

    Which two statements are true? (Choose two.)

    A. Alltypes ofenterprise beans can be transaction-aware.
    B. Typically, fine-grained objects, such as an employee record, should be remotely accessible.
    C. Theclientview ofanygiven enterprise bean will be consistent acrossall EJB3.0 containers withouttheneed to recompile the bean.
    D. As long as a given enterprise bean is NOT recompiled, its security attributes are guaranteed to be consistent across all EJB 3.0 containers in which it is deployed.

  • Question 137:

    Given:

    A session bean Foo uses container-managed transactions. The container throws a javax.transaction.TransactionRolledBackException when the doStuff methodruns. Which transaction attribute can the doStuff method have for this to occur?

    A. NEVER
    B. MANDATORY
    C. REQUIRES_NEW
    D. NOT SUPPORTED

  • Question 138:

    Given two entities with a many-to-many bidirectional association between them:

    11.

    @Entity public class Employee!

    12.

    Collection projects;

    13.

    // more code here

    14.}

    and

    11.©Entity public class Project!

    12.

    Set emps;

    13.

    // more code here

    14.}

    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

  • Question 139:

    A developer wants to create a Java Persistence query that restricts the results of an age- based query. Specifically, the developer wants to select everyone who is NOT a teenager. (A teenager is someone who is 13,14,15,16,17,18, or 19

    years old.)

    Which expression in the query's WHERE clause is correct?

    A. WHEREp.age NOTBETWEEN12and20
    B. WHERE p.age NOTBETWEEN 13and20
    C. WHERE p.age NOT BETWEEN12and 19
    D. WHERE p.age NOT BETWEEN 13 and 19

  • Question 140:

    A developer is implementing an EJB 3.0 JMS message-driven bean with bean-managed transactions. Which two statements are true? (Choose two.)

    A. The message receipt is part of the user transaction.
    B. Messageacknowledgementis automaticallyhandledbythecontainer.
    C. Messages are always processed intheorder they were sent to the queue.
    D. Two messages read from the same queue may be processed at the same time within the same EJB container.

Tips on How to Prepare for the Exams

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.