Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS Queue and integration tier

 
Srinivasan Rengan
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
People,

Here is my doubt about the integration tier. I am planning to implement a service activator and as per Humphrey Sheil, I can show up a MDB in component diagram. Now my point is, should we also show up an MDB in class diagram?

Also, how about the JMS queue to which the MDB is listening to? Where do we show that? Now important thing about this queue is that it is part of our system and not an external system.

Also if a adapter is being to access an external queue or a service, then the sequence would be:

Controller -> Stateless Bean - > Queue - > MDB -> adapter -> External queue or any other service.

Makes sense?
Your inputs greatly appreciated.

Thanks
Srini
 
Rajiv Shr
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used MDBs in part 2 to send different kinds of notification to users. I showed the MDBs in the class diagram with a <<use>> relationship between the manager class (that puts the message in the queue) and the MDB that listens to the queue. I dont think you need to show the queues anywhere as when you use MDB it is obvious that there would be a corresponding queue to listen to.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic