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

    Which statement is correct about the Java Persistence API support for the SQL queries?

    A. SQL queries are NOT allowed to use parameters.
    B. The result of an SQL query is not limited to entities.
    C. Only SELECT SQL queries are required to be supported.
    D. SQL queries are expected to be portable across databases.

  • Question 122:

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

    A developer wants to use the Java Persistence query language. Which two are true? (Choose two.)

    A. A WHERE clause is required in every query.
    B. The WHERE clause can restrict the scope of a delete operation.
    C. The WHERE clause can be used to order the results returned by a query.
    D. The WHERE clause is used to determine the types of objects to be retrieved from a persistent store.
    E. The WHERE clause is used to restrict the contents of a collection of objects that are returned from a query.

  • Question 124:

    An enterprise bean has security permissions set up using declarative security features. Under which two conditions can a client be guaranteed to have permission to invoke a business method on the enterprise bean? (Choose two.)

    A. The Application Assembler has marked the enterprise bean methodasunchecked.
    B. The client's principalhas beenassigned a securityrolewithpermissionto invokethe method.
    C. The Application Assembler has set the security-identity deployment descriptor to run- as.
    D. TheApplicationAssemblerhas mapped all security role references using the role-link element.

  • Question 125:

    Which option will a developer use to obtain a MessageDrivenContext in a message- driven bean class written to the EJB 3.0 API?

    A. Implement the MessageDrivenBean interface.
    B. Specify MessageDrivenContext as a constructor parameter.
    C. Declare a dependency on the MessageDrivenContext interface.
    D. Specify MessageDrivenContext as a parameter of the onMessage method.

  • Question 126:

    A developer wantsto implement anassociation relationship betweenCarModel and CarManufacturer. Every car model is produced by a single manufacturer and every manufacturer produces many car models. While in this application it is essential to quickly determine the manufacturer of a model it is NOT necessary to determine which models a manufacturer produces. Given these requirements, which is an appropriate solution?

    A. In CarModel class, declare an attribute of type CarManufacturer and annotate it with @OneToMany.
    B. In CarModel class, declare an attribute of type CarManufacturer and annotate it with @ManyToOne.
    C. In CarManufacturer class, declare an attribute of type CarModel and annotate it with @OneToMany.
    D. In CarManufacturer class, declare an attribute of type Collection and annotate it with @OneToMany.
    E. In CarModel class, declare an attribute of type Collection and annotate it with @ManyToOne.

  • Question 127:

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

    Which two capabilities are legal for an enterprise bean? (Choose two.)

    A. being a socket client
    B. updating a static field
    C. starting a separate thread
    D. listening on a server socket
    E. interrupting all the threads in a thread group
    F. using the java.lang.System.currentTimeMillis method

  • Question 129:

    Given:

    11.©Entity public class X{

    12.

    @ld int id;

    13.

    Y y;

    14.}

    A public class Y with NO Java Persistence annotations is defined in the same package. Which statement is correct about these classes if NO other annotations and mapping descriptors are provided?

    A. Class Y must be serializable.
    B. ClassYmust be marked as an entity.
    C. The entity X is notdefinedcorrectly.The field y must be marked as @Lob.
    D. ClassY must be accessedbyapersistenceapplication throughapublicinterface.

  • Question 130:

    A developer writes a stateless session bean with one local business interface and with container- managed transactions. All business methods have transaction attribute REQUIRED. The bean has an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a business method of the bean? (Choose two.)

    A. sessionCtx. getEJBObject
    B. sessionCtx.setRollbackOnly
    C. sessionCtx. getMessageContext
    D. sessionCtx. getBusinessObject
    E. sessionCtx. getEJBLocalObject

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.