Multiple choice technology architecture

Which of the properties of entity beans are true: Please select the best answer.

  1. Clients of entity beans have a one-to-one relationship with entity bean instances.

  2. Entity bean instances may not be discarded by the container if it needs to free up resources.

  3. Each entity bean instance has a unique identity.

  4. Entity beans map to one or more pieces of data, each one of which has a unique primary key.

  5. None of above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Entity beans represent persistent business data. Option D is correct because entity beans represent persistent data with unique primary key identification. Option A is incorrect because multiple clients can access the same entity bean instance. Option B is false because containers can discard/passivate entity beans to manage resources. Option C is misleading because while instances have identity within the container, the question's phrasing is imprecise. Entity beans fundamentally exist to represent data in persistent storage.