This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
In high logic view, it should be MDB depends on JMS.
but,in implement, shoud be JMS depends on MDB. JMS call MDB method.
I send a message to a MDB. the MDB will process the message.
Create a seperate component for JMS<<infrastructure>> and the MDB depends on it.
OR just add a Interface to MDB called JMS interface?
which one is correct or better?