• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Message-Driven Bean just for asynchronous Message?

 
Bingo Zhao
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it only for asynchronous or for both(sync and async)?
Need help!
 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
A MDB is designed to take advantage of JMS and SOAP communication patterns which both favour loose coupling ( or strong separation ) of the two collaborating applications.

Once you succeed in gaining loose coupling, why would you want to tie them together again by making them wait for each other?
That said, it it entirely possible to use MBD for both sync and async purposes.

Hope that helps,
Terry
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also see this thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic