• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Showing web and swing clients on the same sequence diagram...

 
James Turner
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have been creating my sequence diagrams so far showing the interactions of the web client with the system, i.e. showing which JSP's etc, are used and how they are used.

I am thinking about adding my swing clients onto this diagram in some way as well but I am not sure how to do this, if I created a client agnostic diagram it would be too general i think and there is a fair amount of web interaction to model. I do not really want to have to draw all new diagrams for a swing client.

Does anyone know of a good way to have one diagram show the interactions from a web and swing client point of view without being too general?

Any help and comments will be greatly appreciated!

Thanx all!

Regards,
James.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One option is to use stereotypes.

Other option is to show them separately in two sequence diagrams; elaborate the common flow in one sequence diagram and simply refer it from the other(short) sequence diagram using the << include >> convention.

The third option would be to use and architectural level of abstraction that handles requests from various types of clients and serves them responses - a GenericRequestHandler and a GenericResponseDispatcher. If you adopt this approach, make sure you write about them in your documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic