• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic