Quiz

1:An entity bean is identified by which of the following?
  1. Primary key.

  2. Persistent fields.

  3. Relationship fields.

  4. Home interface.

A1: A
2:Which of the following statements is true of a bean-managed persistence entity bean?
  1. The container takes the responsibility of generating the data access code.

  2. The entity bean takes the responsibility of generating the data access code.

  3. The entity bean is portable.

  4. The entity bean is transactional.

A2: B, D

Get Sams Teach Yourself EJB in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.