eWebProgrammer
Distributednetworks GofPatterns
prev next
  Course navigation

Entity Beans - Quiz
Select the best answer for each question.
 
1. Which of the following properties of stateful session beans are true:
Please select the best answer.
  A. There is a many-to-one relationship between the client and the session bean instance.
  B. Session bean instances live forever.
  C. The container may discard the bean instance arbitrarily, when and if it needs to, for performance reasons.
  D. Stateful session beans may have initial state information passed to them from the client when they are created.

2. Which of the properties of entity beans are true:
Please select the best answer.
  A. Clients of entity beans have a one-to-one relationship with entity bean instances.
  B. Entity bean instances may not be discarded by the container if it needs to free up resources.
  C. Each entity bean instance has a unique identity.
  D. Entity beans map to one or more pieces of data, each one of which has a unique primary key.

Score =
Correct answers: