Quiz

1:Which of the following is true for a session bean?
  1. It performs a task for a client

  2. It performs a task for multiple clients

  3. It represents shared data in a database

  4. It survives an EJB server crash

A1: A
2:Which of the following methods is invalid for a stateless session bean?
  1. ejbCreate()

  2. ejbCreate(...)

  3. ejbRemove()

  4. setSessionContext()

A2: B
3:Which of the following is first called by the container on a stateless session bean?
  1. ejbCreate();

  2. newInstance();

  3. ejbActivate();

  4. setSessionContext()

A3: B
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.124.177