ExpiredSun 310-091 Certified Bus. Component Developer Java Exam

Udemy

Note: Udemy FREE coupon codes are valid for maximum 1000 redemption only and might get redeemed in few hours. Look for "GET THIS DEAL" green button at the end of Description.
This post may have affiliate link & we may get small commission if you make a purchase.

Requirements
  • Any one who want to do Sun 310-091 Certified Bus. Component Developer Java Exam
Description

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

Who this course is for:
  • Those who want to get knowledge on Certification & Check your Skill Test while attend this Practice Test


  • Register New Account
    Reset Password