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
    :Jan 15, 2026

Oracle 1Z0-860 Online Questions & Answers

  • Question 1:

    Which two statements are correct about EJB 3.0 stateful session beans and stateless session beans? (Choose two.)

    A. Both can have multiple remote and local business interfaces.
    B. Both can be passivated by the EJB container to preserve resources.
    C. Both can choose to implement the javax.ejb.SessionSynchronization interface.
    D. Only the stateful session bean class is required to implement java.io.Serializable.
    E. Both bean classes can have the field injection of javax. persistence. EntityManager.

  • Question 2:

    Given:

    11.

    @PersistenceContext EntityManager em;

    12.

    public boolean test(Order o) {

    13.

    boolean b = false;

    14.

    o = em.merge(o);

    15 em.remove(o);

    16.

    o = em.merge(o);

    17.

    b = em.contains(o);

    18.

    return b;

    19.}

    Which statement is correct?

    A. The method will return TRUE.
    B. Themethod will return FALSE.
    C. Themethodwill throw an exception.
    D. TheOrder instance willberemoved from the database.

  • Question 3:

    A developer is working on a user registration application using EJB 3.0. A business method registerUser in stateless session bean RegistrationBean performs the user registration. The registerUser method executes in a transaction context started by the client. If some invalid user data causes the registration to fail, the client invokes registerUser again with corrected data using the same transaction. Which design can meet this requirement?

    A. Have registerUser method call EJBContext.setRollbackOnlyOmethodafter registration fails.
    B. Have registerUser method throw javax.ejb.EJBTransactionRequiredExceptionafterregistration fails.
    C. HaveregisterUser method throw EJBException without marking the transaction for rollback, after registration fails.
    D. Create an application exception withtherollbackattributeset to falseandhave registerUser method throwit afterregistration fails.

  • Question 4:

    A session bean calls the setRollbackOnly method on the EJBContext interface within a business method with an active transaction. Which two are correct? (Choose two.)

    A. The transaction timeout is immediately disabled.
    B. The container will ensure that the transaction will never commit.
    C. The bean must have started the current transaction for this to be legal.
    D. The bean must have bean-managed transaction demarcation for this to be legal.
    E. Thebean must have container-managed transaction demarcation for this to be legal.

  • Question 5:

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

    Which two are true about the Java EE 5 client-view of a message-driven bean? (Choose two.)

    A. Referencestomessage destinations can be injected.
    B. Asof EJB3.0, referencestomessage destinations cannot be looked upin theclient's JNDI namespace.
    C. Clients of a message destination need to know that the destination is listened to byapool of message consumers.
    D. Clients of a message destination do NOT needto knowthat the destination is listened to by a message-driven bean.

  • Question 7:

    A developer writes client code that runs in a Java EE container and accesses an EJB 3.0 stateful session bean. Which three statements are correct? (Choose three.)

    A. The client can obtain a reference to the bean's business interface through JNDI lookups.
    B. The client can obtain a reference to the bean's business interface through dependency injection.
    C. If the client calls a business method after the bean instance has been removed an exception will occur.
    D. After obtaining a reference to the bean's business interface, the client must call the create method before it may call business methods.
    E. After the bean instance has been passivated, the client needs to re-obtain a reference to the bean's business interface to activate the bean instance.

  • Question 8:

    A Java EE 5 application contains a session bean which uses a security role USER. A group called people is defined in an LDAP server. Which two define appropriate EJB role responsibilities? (Choose two.)

    A. The deployer definesandconfigures the LDAP realm.
    B. The system administratordefines and configuresthe LDAPrealm.
    C. Thedeployermaps the application role USER totheLDAP group people.
    D. Thesystem administrator maps the application role USER totheLDAP group people.

  • Question 9:

    The execution of the find method in the following code throws an exception:

    11.

    em.find(Customer.class, custld);

    12.

    //Where em is a reference to a extended scoped entity manager.

    Which scenario can cause the exception?

    A. Thefindmethod was called without a transaction.
    B. Theentity corresponding to therequestedprimary key has been removed.
    C. The entity corresponding to therequestedprimarykeyhas beendetached.
    D. The data type of custld is NOT a valid type fortheCustomer entity primary key.

  • Question 10:

    A developer is working on a user registration application using EJB 3.0. A business method registerUser in stateless session bean RegistrationBean performs the user registration. The registerUser method executes in a transaction context started by the client. If some invalid user data causes the registration to fail, the client invokes registerUser again with corrected data using the same transaction. Which design can meet this requirement?

    A. Have registerUser method call EJBContext.setRollbackOnlyOmethodafter registration fails.
    B. Have registerUser method throw javax.ejb.EJBTransactionRequiredExceptionafterregistration fails.
    C. HaveregisterUser method throw EJBException without marking the transaction for rollback, after registration fails.
    D. Create an application exception withtherollbackattributeset to falseandhave registerUser method throwit afterregistration fails.

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.