• 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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!