• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

MDB in sequence diagram

 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Does anyone have an idea how to show asynchronous MDB in a sequence diagram for the architect certificate? I have read that the MDB server could be shown as an actor. I think that the MDB now resides in the EJB container; therefore it would not be an actor. My sequence diagram has stateless session beans, DAO, (no entity beans). Would the MDB be shown as an MDB, or would it be broken down into queue, etc.?

Thanks for any help.

Saha
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do we have MDB for SCEA part-I?.
 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't believe that it is covered on the part 1 test.
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Saha Kumar:
Hello,

Does anyone have an idea how to show asynchronous MDB in a sequence diagram for the architect certificate? I have read that the MDB server could be shown as an actor. I think that the MDB now resides in the EJB container; therefore it would not be an actor. My sequence diagram has stateless session beans, DAO, (no entity beans). Would the MDB be shown as an MDB, or would it be broken down into queue, etc.?

Thanks for any help.

Saha



You could just add your MDB bean in the sequence diagram, and use a stereotype as <<MessageDrivenBean>> for it. You should use the message symbol for asynchronous messages (the old half chikken foot). If you want to show the Queue in the diagram, there is no problem, you can put it as an object instance or an component. But to clarity, just the MDB are sufficient.
 
That new kid is a freak. Show him this 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