Which option will a developer use to obtain a MessageDrivenContext in a message-driven bean class written to the EJB 3.0 API?

Which option will a developer use to obtain a MessageDrivenContext in a message-driven bean
class written to the EJB 3.0 API?

Which option will a developer use to obtain a MessageDrivenContext in a message-driven bean
class written to the EJB 3.0 API?

A.
Implement the MessageDrivenBean interface.

B.
Specify MessageDrivenContext as a constructor parameter.

C.
Declare a dependency on the MessageDrivenContext interface.

D.
Specify MessageDrivenContext as a parameter of the onMessage method.



Leave a Reply 0

Your email address will not be published. Required fields are marked *