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

    The syntax of the ORDER BY clause is defined in the Java Persistence API as orderby_clause ::=ORDER BY orderbyjtem {, orderbyjtem}* Which statement is correct about the use of ORDER BY clauses?

    A. Only literals can be specified as an orderbyjtem.
    B. Fields or properties of any type can be specified as an orderbyjtem.
    C. The ordering must be specified if two or more orderbyjtem methods are provided.
    D. If two orderbyjtem methods are provided the left orderbyjtem has the higher precedence.

  • Question 72:

    A developer needs to include a set of managed classes in a persistence unit. Which two solutions are correct? (Choose two.)

    A. Place the class filesinthe orm.xml file.
    B. Placetheclassfiles in therootof thepersistence unit.
    C. Place the classfilesin any mapping file that is includedonthe classpath.
    D. Placetheclass files inanyjar on the classpath that is included in the persistence unit.

  • Question 73:

    A developer writes a stateful session bean with local business interface Bar containing method test. Method test is implemented as

    11.

    ©Remove

    12.

    public void testfj {}

    A business method in a stateless session bean invokes a reference to bean Bar as follows :

    11. @EJB Bar bar; 12.

    13.

    public void foo0 {

    14.

    bar.testfj;

    15.

    bar.testO;

    16.}

    Assuming execution reaches Line 15, what is the expected result?

    A. Method foo returns withouterror.
    B. Ajavax.ejb.NoSuchEJBException is thrown.
    C. Ajava.rmi.NoSuchObjectException is thrown.
    D. Ajavax.ejb.NoSuchEntityException is thrown.

  • Question 74:

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

    The Java Persistent API defines certain rules for persistent entities. These rules are required by the persistent provider to manage entities at runtime. Which statement is correct, assuming NO mapping descriptor is used?

    A. Entitiesmust extenda persistent base class.
    B. Entities must implement the interface PersistentEntityto bemanaged bythepersistent provider.
    C. Afield withoutatransient modifier mustbeannotated as ©Tersistent tobe stored in the database.
    D. A field without a transient modifier must be annotated as ©Transient to NOT be stored in the database.

  • Question 76:

    The Java Persistence API defines EntityTransaction interface. Which statement is correct?

    A. It is used to control transactions on JTA entity managers.
    B. It is used to control transactions on resource-local entity managers.
    C. All methods of this interface will throw HlegalStateException if a transaction is NOT active.
    D. Calling getTransaction method on a closed entity manager will throw an HlegalStateException.

  • Question 77:

    A developer implements a system in which transfers of goods are monitored. Each transfer needs a unique ID for tracking purposes. The unique ID is generated by an existing system which is also used by other applications. For perfomance reasons, the transaction that gets the unique ID should be as short as possible. The scenario is implemented in four steps which are implemented in four business methods in a CMT session bean:

    1.

    LcheckGoods

    2.

    Checks goods in a database

    2.

    getUniqueld Retrieve the unique ID

    3.

    checkAmount Checks the amount in a non-transactional system

    4.

    storeTransfer Stores the transfer in a database as part of the calling transaction. These methods are called by the addTransfer method of a second CMT session bean in the following order: checkGoods, getUniqueld, checkAmount, storeTransfer Assuming no other transaction-related metadata, which is the correct set of transaction attributes for the methods in the session beans?

    A. 0. addTransfer REQUIRED 1. LcheckGoods REQUIRED 2. getUniqueldREQUIRES_NEW 3. checkAmountsNOT_SUPPORTED 4. storeTransferMANDATOR Y
    B. 0. addTransferREQUIRED 2. LcheckGoods REQUIRED 2. getUniqueldREQUIRED 3. checkAmountsREQUIRED 4. storeTransferREQUIRED
    C. 0.addTransferREQUIRED 1. LcheckGoods REQUIRED 2. getUniqueldREQUIRES_NEW 3. checkAmountsNEVER 4. storeTransferMANDATOR Y
    D. 0. addTransferNOT_SUPPORTED 1. LcheckGoods REQUIRED 2. getUniqueldREQUIRED 3. checkAmountsNOT_SUPPORTED 4. storeTransferMANDATORY

  • Question 78:

    A developer is implementing an EJB 3.0 message-driven bean that will be associated with a JMS topic. The bean must NOT miss any messages published to the topic, even if the EJB server is down for some time. Which is correct?

    A. The developershouldset the activation config properly subscriptionDurabilitytovalueDurable.
    B. The developer should set the activation config property subscriptionDurability to value NonDurable.
    C. Clients must take care of resending messages to the topic in case of missing message acknowledgements.
    D. The developer does NOT need to do anything, because as long as the EJB server is down no client can publish messages to the topic.

  • Question 79:

    Which method always throws an exception when invoked on a container-managed entity manager?

    A. the lock method
    B. theclosemethod
    C. theflush method
    D. the clear method

  • Question 80:

    A developer writes a stateful session bean with local business interface Bar containing method test. Method test is implemented as

    11. ©Remove

    12. public void testfj {}

    A business method in a stateless session bean invokes a reference to bean Bar as follows :

    11. @EJB Bar bar;

    12.

    13. public void foo0 {

    14. bar.testO;

    15. bar.testO;

    16.}

    Assuming execution reaches Line 15, what is the expected result?

    A. Method foo returns withouterror.
    B. Ajavax.ejb.NoSuchEJBException is thrown.
    C. Ajava.rmi.NoSuchObjectException is thrown.
    D. Ajavax.ejb.NoSuchEntityException is thrown.

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.