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 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.