Multiple choice technology architecture

Which of the following is FALSE about EJB3.0?

  1. Supports annotations

  2. Supports resource injection

  3. Simplifies enterprise bean types

  4. Gives interceptor facility for session, message-driven and entity Beans

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

EJB 3.0 supports annotations, resource injection, and simplifies enterprise bean types by removing home interfaces and using plain Java classes. These are all TRUE statements. However, the interceptor facility in EJB 3.0 is specifically defined for session beans and message-driven beans only, not entity beans. Entity beans in EJB 3.0 became JPA entities and use entity listeners for callbacks, not the interceptor facility. Thus statement D is FALSE and is the correct answer.