• 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
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic