Coffee Cram: Mock Exam

  1. What’s true for an entity bean provider using container-managed persistence to create persistent relationships? (Choose all that apply.)

    A.

    A local interface is required for such a bean to have a bidirectional relationship with another entity bean.

    B.

    Such a bean can have relationships with only session beans.

    C.

    Relationships can be only one-to-one or one-to-many.

    D.

    A getter method return type can be java.util.List.

  2. What’s true for an entity bean provider using container-managed persistence to create persistent relationships? (Choose all that apply.)

    A.

    A remote interface is required for such a bean to have a bidirectional relationship with another entity bean.

    B.

    Such a bean can have relationships with only message-driven beans.

    C.

    A get method return type can use java.util.Map.

    D. ...

Get Head First EJB now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.