Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB in sequence diagram

 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • 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
 
Harini Shree
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I don't believe that it is covered on the part 1 test.
 
Ricardo Ferreira
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic