When should you use a Stateful Session Bean?

  1. When fetching frequently used read-only data.

  2. If you need to manage the workflow or several EJBs.

  3. At any time, multiple clients can have access to the bean instance.

  4. When the bean should represent a business entity.

  5. The bean needs to hold data about the client across multiple invocations.

  6. To asynchronously receive JMS messages.


Correct Option: B,E

Find more quizzes: