Which JMS messaging model should be use to implement durable messaging? (choose one)
i)jms.Asynchronous
ii)jms.Queue
iii)jms.Synchronous
iv)jms.Topic
v)jms.Durable
The answer in mock exam is iv).
But I think that choice ii) is correct, because jms.Topic make durable messaging only if consumer is created by createDurableSubscriber session method.
Which of the following statements correctly describe the publish/subscribe messaging model and the point to point messaging model respectively?
i)publish/subscribe messaging=one sender and one receiver
ii)publish/subscribe messaging=one sender and n receivers
iii)publish/subscribe messaging=m sender and n receivers
iv)point to point messaging is a message queue system
v)point to point messaging=n senders and one receiver
vi)point to point messaging=one sender and one receiver
Mock answer: choice ii) and vi)
my answer: v) (because more than one sender may send message to the same receiver at a time), iii) and iv) ( but i�m not sure what is message queue system exactly?)
Which of the following
j2ee describes mediator design
pattern?
i)Session bean receiving request from remote clients and invoking several entities beans
ii)
Servlet receiving request from Web browser and sending to multiple
jsp pages
iii)MDB receiving asynchronous messages and invoking multiple enterprise bean
iv)Filter servlet , checking and setting client request and response encoding
Answer in mock exam: ii). For me it�s obvious that iii) is the correct answer.