What is the purpose of this code fragment?
Which statement correctly describes inout parameters?
Which statement correctly describes inout parameters?
which enterprise beans are instantiated?
Which statement correctly describes the mechanism by which enterprise beans are instantiated?
What is the functionality of the reference returned by the setSessionContext() method?
What is the functionality of the reference returned by the setSessionContext() method?
Which parameter-passing modes result in the marshalling of data from the client on its way to the server?
Which parameter-passing modes result in the marshalling of data from the client on its way to the
server?
which exception should be thrown to the client?
If an ejbFindByPrimaryKey() method cannot locate a particular record, which exception should be
thrown to the client?
which statement is true of the getCustomerBalance method?
Consider the following statement: prepStmt = dbConn.prepareStatement ("INSERT INTO MyTable (ID, FSTNAME,
Consider the following statement:
prepStmt = dbConn.prepareStatement (“INSERT
INTO MyTable
(ID, FSTNAME, LSTNAME
VALUES (?,?,?)”);
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 FSTNAME and
LSTNAME columns are VARCHAR data types. The value for the ? placeholders in the SQL
statement are held by member variables named id, fstName and IstName respectively. Which of
the following statements would properly execute the statement given in this question?
Which choice defines the term durability when used to describe the properties of a transaction?
Which choice defines the term durability when used to describe the properties of a transaction?
How is the withdraw operation mapped to Java in the client stub?
Consider the following IDL definition:
module accounts
{
interface Checking
{
attribute float balance;
void withdraw (in float amount);
How is the withdraw operation mapped to Java in the client stub?