[jboss-user] [JBoss Messaging] - Re: integrate JSF with JMS ?
do-not-reply at jboss.com
Wed Sep 10 04:06:35 EDT 2008
well theorically you could send a JMS message from the Session Bean and so inoking an MDB but it's not a good design choice in my opinion since MDB do not add value to the business logic contained in the Session bean because simply they don't return anything, they use a "Fire and Forget Pattern".
It's quite common the opposite, where an MDB is fired for example to book a flight seat and inside the OnMessage a SLSB is invoked to perform the business logic which is synchronous.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175498#4175498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175498
More information about the jboss-user