Multiple choice java

What type of enterprise bean is used to embody application processing state information?

  1. javax.ejb.EnterpriseBean

  2. javax.ejb.SessionBean

  3. javax.ejb.MessageBean

  4. javax.ejb.EntityBean

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Session Beans (stateful or stateless) are designed to encapsulate business logic and process state for a specific client session. Entity Beans (older EJB tech) represented persistent data. EnterpriseBean is a marker interface. MessageBean would handle messaging.