What if the MOM server does not support JMS?
... well, in that case you are screwed! ...or maybe not?
I suppose that you could encapsulate the asynchronous call with a DAO using the third-party specific protocol. In that case you could also use it from anywhere that has access to the DAOs.
My point is, the term MOM is not synonymous with JMS. There are plenty of MOM servers that do not support the JMS spec.
I agree, but I wouldn't expect that the examiners expect you to assume that, first of all because all major MOM vendors provide JMS interfaces. In other words, if they don't tell you otherwise, I would assume there is a JMS driver for it.
This question should have really been worded, "Which can be used as JMS client?"
That sounds much better!
Eduard