-
how to show multiple client in UML seqence diagram (5 messages)
- Posted by: TTY JH
- Posted on: November 29 2007 14:47 EST
The system is desigend for both web and standalone clent.they access the same business logic components. how do I display these in UML sequence diagram? do I have to draw it for web clent (JSP/servlet) and repeat almost every thing they invoke business components for stand alone application?Threaded Messages (5)
- Re: how to show multiple client in UML seqence diagram by Carlos Rodriguez Fernandez on November 29 2007 15:41 EST
- Re: how to show multiple client in UML seqence diagram by TTY JH on November 29 2007 15:59 EST
-
Re: how to show multiple client in UML seqence diagram by Carlos Rodriguez Fernandez on November 30 2007 03:35 EST
- Re: how to show multiple client in UML seqence diagram by TTY JH on November 30 2007 08:21 EST
- Re: how to show multiple client in UML seqence diagram by Saravanan Dharmalingam on December 05 2007 12:35 EST
-
Re: how to show multiple client in UML seqence diagram by Carlos Rodriguez Fernandez on November 30 2007 03:35 EST
- Re: how to show multiple client in UML seqence diagram by TTY JH on November 29 2007 15:59 EST
-
Re: how to show multiple client in UML seqence diagram[ Go to top ]
- Posted by: Carlos Rodriguez Fernandez
- Posted on: November 29 2007 15:41 EST
- in response to TTY JH
I think that I cannot understand your question, but I want to guess an answer for you :) Create an "Actor" an name it as "Client". This "Client" sends messages to your Business Service implementation. -
Re: how to show multiple client in UML seqence diagram[ Go to top ]
- Posted by: TTY JH
- Posted on: November 29 2007 15:59 EST
- in response to Carlos Rodriguez Fernandez
Thank you for your reply. from your anser, I guess you understood my question. think about this: jsp --> servlet controller ==> business service --> ... --> ... --> ... application ==> business service --> ... --> ... --> ... everything are same after ==> everything is different before ==> an "Actor" as a "Client" describe the right part very well but what if I want to show the left part? -
Re: how to show multiple client in UML seqence diagram[ Go to top ]
- Posted by: Carlos Rodriguez Fernandez
- Posted on: November 30 2007 15:35 EST
- in response to TTY JH
I think, you must split your sequence diagram in two secuence diagrams. I mean, :GUI->:Controller->:IBusinessService (after an interface it's not correct to continue with calls, it is "interface separation") And :Client->:BusinessServiceImpl->... (here you are specifying the "BusinessService" implementation.) -
Re: how to show multiple client in UML seqence diagram[ Go to top ]
- Posted by: TTY JH
- Posted on: November 30 2007 20:21 EST
- in response to Carlos Rodriguez Fernandez
I guess this makes more sense. is there any examples for a UML show both web and stand alone application? -
Re: how to show multiple client in UML seqence diagram[ Go to top ]
- Posted by: Saravanan Dharmalingam
- Posted on: December 05 2007 00:35 EST
- in response to Carlos Rodriguez Fernandez
Hi, There is no any rules as per UML specification like how many clients you should show in a seq dia. Its all based on complexity and clearity.I think, you must split your sequence diagram in two secuence diagrams.
Its good idea to put one sequence diagram for a client. But if you put all the actors in one diagram you can think about generalization of actors. In addition with that, its wise to include your DB also with diagram. Thanks, Saran.
I mean,
:GUI->:Controller->:IBusinessService (after an interface it's not correct to continue with calls, it is "interface separation")
And
:Client->:BusinessServiceImpl->... (here you are specifying the "BusinessService" implementation.)