Given this code snippet from a JMS message-driven bean class X:
11. public XQ { System, out. print(“1 “); }
12. public void onMessagefMessage m) throws Java. rmi. RemoteException
13. try {
14. TextMessage tm = (TextMessage) m;
15. String text = tm.getText0;
16. System, out. print(“2 “);
17. } catch (JMSException e) {
18. throw new java. rmi. RemoteExceptionQ;
19.}
20.}
When this bean class handles a message, which is correct?
A.
After a messagedelivery theresultis1.
B.
Aftera message delivery the resultis2.
C.
Aftera message delivery the result is12.
D.
Afteramessage delivery an exception isthrown.
E.
After a message delivery the resultisunpredictable.
F.
This isNOTanEJB3.0 compliant bean.