Which enterprise bean type is defined without any client view interfaces?
-
BMP Entity bean
-
CMP Entity bean
-
Stateful Session bean
-
Stateless Session bean
-
Message Driven Bean
Message Driven Beans (MDBs) do not have client view interfaces (local or remote) because they do not receive direct synchronous calls from clients; instead, they act as asynchronous message consumers listening to JMS queues or topics.
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.