• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI over JMS

 
Hearth Stone
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any comment on what's being described in http://www.beacontower.net?
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like good 'ol American vaporware.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually it sounds to me like a classic anti-pattern -- what we call "pseudo-synchronous" JMS. Basically, you build a function-call layer on top of JMS -- a horrible idea. First of all, you can't enlist a call like this in an EJB transaction (because the send would never occur because it would wait forever on the receive before committing the transaction). Second, this totally subverts the asynchronous nature of JMS.
Use synchronous protocols (like RMI-IIOP) for function calls and leave JMS for asynchronous programming...
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!