• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

JMS Queue and integration tier

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic