PrepAway - Latest Free Exam Questions & Answers

Category: 1D0-442

Exam 1D0-442: CIW Enterprise Specialist

WHERE ID = ?

Consider the following statement:
prepStmt = dbConn.prepareStatement (” DELETE
FROM MyTable
WHERE ID = ?”);

The prepStmt member is of type PreparedStatement. The dbConn member is of type Connection
and represents a connection to a database. The ID column is an int data type. The value for the ?
placeholder in the SQL statement is held by a member variable named id. The id member’s value
was acquired via a getPhmaryKey() method. Which of the following statements would properly
execute the statement given in this question?

which these activities occur during a typical interaction between a client and an EJB?

Consider the following four activities that occur during a typical interaction between a client and an
enterprise bean:
1 .A reference to an EJB home object is returned to the client.
2.A reference to the EJB object is returned to the client.
3.JNDI is used to acquire a reference to an enterprise bean’s home object.
4.The client requests the bean’s home object to create or find an enterprise bean.
Which choice lists the correct order in which these activities occur during a typical interaction

between a client and an EJB?


Page 13 of 13« First...910111213