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.