Which enterprise bean type is defined without any client view interfaces?

  1. BMP Entity bean

  2. CMP Entity bean

  3. Stateful Session bean

  4. Stateless Session bean

  5. Message Driven Bean


Correct Option: E

AI Explanation

To answer this question, we need to understand the different types of enterprise beans in Java EE.

Option A) BMP Entity bean - This option is incorrect because BMP (Bean-Managed Persistence) Entity beans do have a client view interface.

Option B) CMP Entity bean - This option is incorrect because CMP (Container-Managed Persistence) Entity beans also have a client view interface.

Option C) Stateful Session bean - This option is incorrect because Stateful Session beans have a client view interface.

Option D) Stateless Session bean - This option is incorrect because Stateless Session beans also have a client view interface.

Option E) Message Driven Bean - This option is correct because Message Driven Beans are the only type of enterprise beans that can be defined without any client view interfaces. Message Driven Beans are used for asynchronous processing of messages received from a messaging system.

Therefore, the correct answer is option E) Message Driven Bean.

Find more quizzes: