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

    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 ©Persistent 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 162:

    Within a Java EE environment, which annotation can be used to inject an entity manager factory?

    A. ©Entity
    B. ©Factory
    C. @JTAFactory
    D. @PersistenceUnit
    E. ©PersistenceContext

  • Question 163:

    Given the following stateful session bean:

    10.

    @Stateful

    11.

    @TransactionAttributefJransactionAttributeType. SUPPORTS)

    12.

    public class VideoBean implements Video {

    13.

    // insert code here

    14.

    public void methodAO {}

    15.}

    Assuming no other transaction-related metadata, which code can be added at Line 13 to guarantee that business method methodA will execute only if invoked with an active transaction?

    A. @TransactionAttributefJ
    B. @TransactionManagement(TransactionAttributeType. CONTAINER)
    C. @TransactionAttribute(TransactionAttributeType.MANDATORY)
    D. @TransactionAttributeO"ransactionAttributeType.REQUIRES_NEW)

  • Question 164:

    Consider a deep inheritance hierarchy consisting of Java Persistence entity classes, non- entities, and mapped superclasses. Which statement is correct, assuming NO mapping descriptor is present?

    A. An entity class must NOT inherit from a non-entity class.
    B. An entity class must NOT be extended by a non-entity class.
    C. Only the root class in an inheritance hierarchy can be annotated wtith @MappedSuperclass.
    D. The primary key must either be defined in the topmost entity class of the inheritance hierarchy or it can be defined in a superclass if this class is annotated as @MappedSuperclass.

  • Question 165:

    The ejb-jar file format is a contract between which two EJB role pairs? (Choose two.)

    A. Deployer and System Administrator
    B. Application Assembler and Deployer
    C. Bean Provider and Application Assembler
    D. Bean Provider and EJB Container Provider
    E. EJB Server Provider and EJB Container Provider
    F. Application Assembler and EJB Container Provider

  • Question 166:

    A developer writes an interceptor class called Foolnterceptor containing the following Aroundlnvoke method:

    11.

    @Aroundlnvoke

    12.

    public Object intercept(lnvocationContext ctx) {

    13.

    return "intercepted"; 14.}

    Foolnterceptor is applied to a business method in a stateless session bean:

    11.

    @lnterceptors(Foolnterceptor.class)

    12.

    public String testzero(int i) {

    13.

    return (i == 0) ? "zero""not zero";

    14.

    }

    Which describes the result when a client invokes the testzero method with a value of 1?

    A. The intercept method is NEVER invoked.
    B. The clientreceivesareturnvalueof "zero".
    C. The client receivesa returnvalue of "not zero".
    D. The client receivesareturn value of "intercepted".

  • Question 167:

    Which two can be specified by both the Bean Provider and the Application Assembler? (Choose two.)

    A. security roles
    B. enterprise bean type
    C. transaction attributes
    D. session bean's state-management type
    E. enterprise bean's remote home interface
    F. enterprise bean's local business interface

  • Question 168:

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

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

    A. Bothcan 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 beanclasses can have the field injection of javax. persistence. EntityManager.

  • Question 170:

    Given a stateless session bean with container-managed transaction demarcation, from which two methods can a developer access another enterprise bean? (Choose two.)

    A. beanconstructor
    B. Timeout callback method
    C. PreDestroy lifecycle callback method
    D. PostConstruct lifecycle callback method
    E. businessmethod fromthebusiness interface

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.