Coffee Cram: Mock Exam Answers

  1. Which APIs are guaranteed to be supported by EJB 2.0 containers? (Choose all that apply.)

    (spec: 493)

    A.

    JAXP

    B.

    JNDI

    C.

    JXTA

    D.

    JDBC

    E.

    JMS

  2. What’s true about an enterprise bean’s environment? (Choose all that apply.)

    (spec: 410-412)

    A.

    Environment entries can be unique for instances of the same enterprise bean type.

    B.

    Within a single EJB 2.0 container, an EJB can have multiple sets of environment entries.

    C.

    An EJB’s environment entry’s values can be modified by the EJB at runtime.

    D.

    Environment entry values may be primitives or wrapper types.

    - Only Strings and Wrappers

  3. Which APIs are ...

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.