Coffee Cram: Mock Exam Answers

  1. What is true concerning locating an entity bean’s home interface?

    Note

    (spec: 110)

    A.

    The narrow() method should be used for a local home interface.

    B.

    The narrow() method should be used for a remote home interface.

    C.

    The narrow() method should be used for both local and remote home interfaces.

    D.

    The narrow() method should be used for neither local nor remote home interfaces.

  2. Which capabilities are found in an entity bean’s remote component interface? (Choose all that apply.)

    A.

    creating new entity objects

    B.

    finding existing entity objects

    Note

    - home methods

    C.

    removing existing entity objects

    D.

    executing a home business method

    Note

    - home methods

    E.

    retrieving the EJBMetaData interface ...

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.