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

    An enterprise developer needs to modify the order of interceptor method execution specified by the Bean Provider, but does NOT have access to the bean's source code. No deployment descriptor was provided in the ejb-jar delivered by the Bean Provider. Which represents the solution to this problem?

    A. No solution is possible under these conditions.
    B. TheDeployer canadd metadataannotations totheejb-jar.
    C. The Application Assembler can add metadata annotations to the ejb-jar.
    D. TheSystem Administrator can addinterceptorbinding informationatruntime, using vendorspecific tools.
    E. TheApplication Assembler canaddadeployment descriptor totheejb-jarthat includesinterceptor binding information.

  • Question 212:

    Which is the valid use of the javax.ejb.lnit annotation?

    A. to annotate a method in a stateful session bean class so that the container will invoke it after the EJB is deployed and started
    B. to specify the correspondence of a method on a stateful session bean class with a create method of the adapted home interfaces
    C. to annotate a bean class inside the ejb-jar archive to act as a bootstrap EJB which is loaded into the container before any other EJBs
    D. for a client to invoke the method annotated with @lnit to initialize a newly created stateful session bean instance with user-specific data

  • Question 213:

    A developer wants to create a Java Persistence query to perform a bulk update operation on five different entity classes. All of these classes have a field called name. These classes have the following relationships:

    Harrier extends Dog and Dog extends Animal

    Vet extends Doctor

    What is the minimum possible number of operations required to change the value of the name field for all of the entities in all five classes?

    A. 1
    B. 2
    C. 3
    D. 4
    E. 5

  • Question 214:

    A developer is creating an entity which is mapped to a table that has a primary key constraint defined on two character columns and would like to use mapping defaults as much as possible to simplify the code Which two mapping options can be chosen? (Choose two.)

    A. Use an @ld property that constructs a private field as a concatenation of two columns.
    B. Use a separate class to map those two columns and use an @ldClass annotation to denote the primary key field or property in the entity.
    C. Use a separate @Embeddable class to map those two columns and use an @Embeddedld annotation to denote a single primary key field or property in the entity.
    D. Use a separate @Embeddable class to map those two columns and add two fields or properties to the entity, each marked as @ld, that correspond to the fields or properties in the embeddable class.
    E. Use a separate class to map those two columns. Specify that class using @ldClass annotation on the entity class. Add two fields or properties to the entity, each marked as @ld, that correspond to the fields or properties in that separate class.

  • Question 215:

    Given:

    5.

    public interface MrB1 {

    6.

    public interface MrB2 { Ajava class is defined as:

    11.

    ©Stateless

    12.

    public class MrBean implements MrB1 ,MrB2 {

    Which two statements are correct for making this code work as a stateless session bean, considering that this session bean is NOT defined in a deployment descriptor and the interfaces do NOT have annotations? (Choose two.)

    A. Only the inteface for remote usage must be annotated.
    B. The interfaces MrB1 and MrB2 can only be used locally without changing the code.
    C. Both interfaces MrB1 and MrB2 must be annotated to make this a working stateless session bean.
    D. The interfaces MrB1 and MrB2 can be annotated differently, one with @Local and the other with @Remote.

  • Question 216:

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

    A developer wants to create a business interface for both local and remote usage. For performance reasons the remote interface should NOT be called by a client in the same JVM. Which statement is required to accomplish this, assuming there is no deployment descriptor?

    A. The business methods are defined in one interface which must be annotated with both @Local and @Remote.
    B. The business methods are defined twice in one interface. One method is annotated with @Local and the other is annotated with @Remote.
    C. The business methods are defined in a common interface by two other interfaces which are annotated with @Local and @Remote respectively. The bean implements the super interface.
    D. The business methods are defined in a common interface. It is extended by two interfaces, annotated with @l_ocal and @Remote respectively. Both interfaces are implemented by the bean class.

  • Question 218:

    Which two APIs must an EJB 3.0 container make available to enterprise beans at runtime? (Choose two.)

    A. TheJXTAI.1API
    B. TheMIDP 2.0 API
    C. The Java SE 6 API
    D. The JavaSE5JNDIAPI
    E. TheJavaSE5 JDBCAPI

  • Question 219:

    Which statement describes a component definition that is allowed by the EJB 3.0 specification?

    A. A stateful session bean that is a Web service endpoint.
    B. A stateful session bean that has one remote business interface and is a Web service endpoint.
    C. A message-driven bean that has one message listener interface and is a Web service endpoint.
    D. A stateless session bean that has three local business interfaces and is a Web service endpoint.

  • Question 220:

    Given the following code snippet of an EJB 3.0 entity class: 10.©Entity

    11.

    @Table(name="ORDERS")

    12.

    public class Orderj.... }

    A developer wants to change the name of the database table for the Order entity from ORDERS to CUSTOM, without changing the Java source code file. Which option can the developer use?

    A. Override the name using the table subelement within the persistence unit's persistence.xml file.
    B. This is NOT possible in a portable EJB 3.0 application. The only way to change the table name is to change the Java source code file.
    C. Add a custommapping.xml file to the persistence unit, override the name using the table subelement, and declare custommapping.xml in the mapping-file element in orm.xml.
    D. Add a custommapping.xml file to the persistence unit, override the name using the table subelement, and declare custommapping.xml in the mapping-file element in persistence.xml.

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.