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

    Which three statements are true about EJB 3.0 containers? (Choose three.)

    A. Remote argument passing semantics conform to Java RMI-IIOP.
    B. The JAXB 2.0 API is guaranteed to be available for all bean types.
    C. The Java 2D API is guaranteed to be available for session beans.
    D. javax. naming. InitialContext is guaranteed to provide a JNDI name space.
    E. The Java Telephony API is guaranteed to be available for session and message beans.
    F. javax.transaction. UserTransaction cannot be used by beans when bean- managed transaction demarcation is used.

  • Question 202:

    Given :

    public class MyException extends Exception {}

    The business interface Foo declares a method work0: I.public void work0 throws MyException;

    The bean class FooBean contains the following:

    10.©Stateless

    II. @Remote(Foo.class)

    12.

    public class FooBean {

    13.

    public void workQ throws MyException {

    14.

    //do some work not shown here

    15.

    throw new MyException0;

    16.}

    Assuming there is no deployment descriptor, which statement is true when the workQ method is invoked by a client with an existing transaction context and execution reaches Line 15?

    A. The container does notroll back thetransaction.
    B. The clientreceives javax.ejb.EJBTransactionRequiredException.
    C. The clientreceivesjavax.ejb.EJBTransactionRolledbackException.
    D. Thecontainer marks the transactionforrollback by calling the EJBContext.setRollbackOnly method.

  • Question 203:

    A developer is designing a Java Persistence application that is mapped to a set of existing tables. This set includes table EMPLOYEE, DEPARTMENT, and PROJECT. Tables EMPLOYEE and DEPARTMENT do NOT define any foreign key constraints to table PROJECT. Table PROJECT defines foreign key constraints with references to tables EMPLOYEE and DEPARTMENT and an extra column called COST. The table EMPLOYEE is mapped to an entity Employee and the table DEPARTMENT to an entity Department. How can the table PROJECT be mapped so the persistence application can be portable?

    A. Such sets of tables cannotbemappedandkeep the application portable.
    B. Map thetablePROJECT asasecondary table for either the Employee or Departmententity.
    C. Map the table PROJECT to bidirectional many-to-many relationships between the Employeeand Departmentusing a Java. util.Mapas the type ofthefield or property.
    D. Mapthe tablePROJECT to an entity Projectwith afield or property cost mappedto thecolumn COST and one-to-many relationshipstothis entity in the Employee and the Department.

  • Question 204:

    Which statement about entity manager is true?

    A. A container-managed entity manager must be a JTA entity manager.
    B. An entity manager injected into session beans can use either JTA or resource-local transaction control.
    C. An entity manager created by calling the EntityManagerFactory.createEntityManager method always uses JTA transaction control.
    D. An entity manager obtained through resource injection in a stateful session bean can use a resource-local EntityTransaction for transaction control

  • Question 205:

    Which statement is true about the Timer service in an EJB 3.0 stateless session bean?

    A. The timeout callback method contains the business logic that handles the timeout event.
    B. The timeout callback method must be declared as a business method in business interfaces.
    C. The timeout callback method can throw application exceptions to report business logic failures.
    D. A bean class can implement multiple timeout callback methods, each associated with a different timer.

  • Question 206:

    A developer wants to write a stateful session bean using the following interface as local business interface:

    1.

    package acme;

    2.

    public interface Bar{

    3.

    public void barQ;4-i

    Assuming there is NOT an ejb-jar.xml file, which code can be inserted into Lines 4-6 below to define the bean with the ejb name of BarBean?

    1.

    package acme;

    2.

    import javax. ejb.*;

    3.

    import Java, io.*; 4.

    5.

    6.

    7.}

    A. ©Stateful public class BarEJB implementsBar{ public void bar0 {}
    B. @Stateful(name="Bar") public class BarBean implements Bar{ public void barQ {}
    C. ©Stateful public classBarBeanimplements Serializable, Bar{ public void bar0{}
    D. @Stateful(name="Bar") public class BarBean implementsBar{ public void barQ throwsJava.rmi.RemoteException{}

  • Question 207:

    The bean class of an EJB Web service endpoint has one method annotated with @WebMethod. Which two types can be legally returned from that method? (Choose two.)

    A. Java. util. Date
    B. javax.ejb.Timer
    C. an array ofJava.lang. String
    D. an EJB3.0local businessinterfacereference
    E. an EJB3.0 remotebusiness interfacereference

  • Question 208:

    Which Java Persistence query uses the aggregate function correctly, assuming that chairs field is of type int?

    A. SELECT ANY(r. chairs) FROM Room r
    B. SELECT NEW Integer(MAX(r. chairs)) FROM Room r
    C. SELECT r FROM Room r WHERE r.chairs > AVG(r.chairs)
    D. SELECT c FROM Chair c WHERE LOCATE (c.type, lazyboy) > -1

  • Question 209:

    Given :

    I. public class MyExceplion extends Exception {}

    The remote business interface Foo declares a method workQ:

    5. public void work0 throws MyException;

    The bean class FooBean contains the following:

    10.©Stateless

    II. @Remote(Foo.class)

    12.

    public class FooBean {

    13.

    public void workQ throws MyException {

    14.

    throw new MyException0;

    15.}

    Which exception can be received in the client as a result of invoking the work method?

    A. a MyException
    B. ajavax.ejb.ConcurrentAccessException
    C. a javax. ejb. EJBException that wraps an instance of MyException as the rootcause
    D. aJava.rmi. RemoteExceptionthatwraps an instance ofMyExceptionas the root cause
    I. public class MyExceplion extends Exception {} The remote business interface Foo declares a method workQ: 5. public void work0 throws MyException; The bean class FooBean contains the following: 10.©Stateless II. @Remote(Foo.class) 12. public class FooBean { 13. public void workQ throws MyException { 14. throw new MyException0; 15.} Which exception can be received in the client as a result of invoking the work method?

  • Question 210:

    A Java Persistence application wants to use optimistic locking. Which statement that describes the functionality of optimistic locking is correct?

    A. The Version attribute of an entity using optimistic locking can be mapped to a secondary table.
    B. Optimistic locking can be used by Java Persistence applications to set optimistic locks on tables in the database.
    C. The Version attribute of an entity using optimistic locking is verified each time the instance is loaded from the database.
    D. Optimistic locking ensures that updates or deletes are consistent with the current state of the database and that intervening updates are not lost.

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.