0   reviews on Udemy

Sun 310-091 Certified Bus. Component Developer Java Exam

Attend this Sun 310-091 Certified Bus. Component Developer Java Exam will get a Good Score 80% on Main Exam
Course from Udemy
 50 students enrolled
 en
Strong Knowledge on Sun 310-091 Certified Bus. Component Developer Java

Sample Questions

Q) A developer needs to include a set of managed classes in a persistence unit. Which two solutions are correct? (Choose two.)

a) Place the class files in the orm.xml file.

b) Place the class files in the root of the persistence unit.

c) Place the class files in any mapping file that is included on the classpath.

d) Place the class files in any jar on the classpath that is included in the persistence unit.

Q) 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 of java.lang.String

d) an EJB 3.0 local business interface reference

e) an EJB 3.0 remote business interface reference

Q) 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 restrict the contents of a collection of objects that are returned from a query.

Q) Using bean-managed transaction demarcation, under which two circumstances must the container roll back a transaction? (Choose two.)

a) A stateful session bean invokes UserTransaction.getRollbackOnly

b) A stateful session bean throws an uncaught application exception from a business method.

c) A stateless session bean begins a transaction in a business method but does NOT complete it before returning.

d) A message-driven bean begins a transaction in a message listener method but does NOT complete it before returning.

Q) The syntax of the ORDER BY clause is defined in the Java Persistence API as: orderby_clause ::=ORDER BY orderby_item {, orderby_item}* Which statement is correct about the use of ORDER BY clauses?

a) Only literals can be specified as an orderby_item.

b) Fields or properties of any type can be specified as an orderby_item.

c) The ordering must be specified if two or more orderby_item methods are provided.

d) If two orderby_item methods are provided the left orderby_item has the higher precedence


Sun 310-091 Certified Bus. Component Developer Java Exam
$ 94.99
per course
Also check at

FAQs About "Sun 310-091 Certified Bus. Component Developer Java Exam"

About

Elektev is on a mission to organize educational content on the Internet and make it easily accessible. Elektev provides users with online course details, reviews and prices on courses aggregated from multiple online education providers.
DISCLOSURE: This page may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission.

SOCIAL NETWORK