• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action classes in sequence diagrams

 
Gabriel Belingueres
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Regarding the sequence diagrams in the assignment, I'm using a Struts 2-like web framework but I feel that showing all Action classes involved in accomplish one use case are too much, because the diagram would be too cluttered with something that really doesn't provide any useful architectural information to the sequence diagram.

I just wanted to check if I may just add a generic "client" lifetime to the sequence, sending events to business-layer components, and returning the "result" of this processing to it.

(I Hope I don't brake any rules asking this question.)

Regards,
Gabriel
 
Jeevan Sunkersett
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I too had the same query.

However in my diagrams I have shown only the Front Controller (ActionServlet) receiving the request from UI and delgating to business with no mention of the actual Action classes. (not even an annotation/ note)

Please advise.

~g1
 
Gabriel Belingueres
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm alleviated I'm not the only one doing this.

But, the question is: did anyone passed the exam doing it this way?
 
John Summers
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your sequence diagram would be about a metre wide if you went to this granularity.

I am just showing:

jsp > controller > someservice

and to hell with it!

j
 
George Taylor
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw this response that seems reasonable.

http://www.coderanch.com/t/152285/java-Architect-SCEA/certification/Struts-Sequence-Diagrams
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic