1Z0-860 Exam Questions & Answers

Exam Code: 1Z0-860

Exam Name: Java Enterprise Edition 5 Business Component Developer Certified Professional Exam

Updated: Apr 16, 2024

Q&As: 305

At Passcerty.com, we pride ourselves on the comprehensive nature of our 1Z0-860 exam dumps, designed meticulously to encompass all key topics and nuances you might encounter during the real examination. Regular updates are a cornerstone of our service, ensuring that our dedicated users always have their hands on the most recent and relevant Q&A dumps. Behind every meticulously curated question and answer lies the hard work of our seasoned team of experts, who bring years of experience and knowledge into crafting these premium materials. And while we are invested in offering top-notch content, we also believe in empowering our community. As a token of our commitment to your success, we're delighted to offer a substantial portion of our resources for free practice. We invite you to make the most of the following content, and wish you every success in your endeavors.


Download Free Oracle 1Z0-860 Demo

Experience Passcerty.com exam material in PDF version.
Simply submit your e-mail address below to get started with our PDF real exam demo of your Oracle 1Z0-860 exam.

Instant download
Latest update demo according to real exam

*Email Address

* Our demo shows only a few questions from your selected exam for evaluating purposes

Free Oracle 1Z0-860 Dumps

Practice These Free Questions and Answers to Pass the Others Oracle Certifications Exam

Questions 1

An application wants to utilize side-effects of cascading entity-manager operations to related entities. Which statement is correct?

A. The persist operation is always cascaded to related entities for one-to-one and one-to- many relationships

B. To minimize the effect of the remove operation applied to an entity participating in a many- tomany relationship the remove operation should be cascaded to entities on both sides of the relationship.

C. The persist operation applied to a new entity X is cascaded to entities referenced by X if the relationship from Xto these other entities is annotated with the cascade=PERSIST or cascade=ALL annotation element value.

D. The remove operation applied to a removed entity X is cascaded to entities referenced by X if the relationship from Xto these other entities is annotated with the cascade=REMOVE or cascade=ALL annotation element value.

Show Answer
Questions 2

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.

Show Answer
Questions 3

A Java EE 5 Application server has four different security realms for user management. One of the security realms is custom made. This realm supports only individual user entries, no grouping of users, and is used by the application. Which two statements are true? (Choose two.)

A. EJB developers cannot use the isCallerlnRole method.

B. The annotation @RunAs("AAA")can still be used for this application.

C. Allsecurity roles needarole-linkentryinthedeployment descriptor.

D. All security roles can be mapped successfully to individual users in the realm.

Show Answer
Questions 4

Which statement about mapping using the Java Persistence API is correct?

A. User-defined XML mapping files can be used only if orm. xml file is NOT present.

B. All mapping files other than orm. xml must be listed explicitly in the persistence, xml descriptor.

C. Mapping information specified in the XML mapping file overrides all annotations and default mappings.

D. The orm.xml file must be placed into the persistence unit's root to be processed by the persistence provider.

Show Answer
Questions 5

Given an EJB 3.0 J MS message-driven bean, which statement is true about its exception handling?

A. Its message listener method must NOT throw any checked exception.

B. Its message listener method can throw java. rmi. RemoteException.

C. Its message listener method can throw any checked exception except java. rmi. RemoteException.

D. Its message listener method can throw any checked exception that implements java. io.Serializable.

Show Answer More Questions

Viewing Page 3 of 3 pages. Download PDF or Software version with 305 questions