Which four code changes, when used together, create a valid JMS message-driven bean?

Given code snippets from two files:

Which four code changes, when used together, create a valid JMS message-driven bean?
(Choose four)

Given code snippets from two files:

Which four code changes, when used together, create a valid JMS message-driven bean?
(Choose four)

A.
Make class MessageDog public

B.
Make the MessageDog constructor no-arg

C.
Make the MessageDog constructor public

D.
Move the onMessage method to class MessageDog.

E.
Change MessageDog so that it is NOT a subclass of Dog.

F.
Make class MessageDog implement MessageListner instead of MessageDrivenBean.



Leave a Reply 0

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