Client View of Bean  «Prev  Next»

Creating EJB Session Bean - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. The home object allows the client to perform which of the following:
Please select all the correct answers.
  A. Acquiring the handle for a bean
  B. Check to see if the bean was created
  C. Accessing the metadata for the bean
  D. Creating a bean and its EJBObject
  E. Invoking the methods of the bean

2. Which of the following is a legal type for an object returned by the lookup() method?
Please select the best answer.
  A. A bean handle
  B. An object that implements the Home interface.
  C. Unknown
  D. An object that implements the remote interface (as implemented by the EJBObject).

3. The return type from the create() methods in the Home object is a remote reference (stub) to which of the following?
Please select the best answer.
  A. The home object
  B. The EJBObject
  C. The bean itself
  D. Type is unknown
  E. void