Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To show GUI classes to be shown in Class Diagram

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do I need to show GUI (front-end) classes in Class diagram?

The GUI classes are Swing for Travel Agent. For Customer, the GUI are JSP.

That being said, here is the dilemma.

If the GUI is JSP, then it belongs to Component diagram. If the GUI is Swing, then it belongs to Class diagram.

If so, should I show Swing classes in Class diagram and JSP in Component diagram?

What is the preferred approach?
 
Beppe Catanese
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sam
the approach I'm taking is to completely leave out the details of the GUI implementation. I only indicate a GUI component in the Component Diagram.
I believe this is enough as the GUI implementation is beyond the scope of the assignment.

I would like to take the same approach for the Web front-end, therefore only indicate a generic JSP component (which would include all JSPs required as part of the view layer). Unfortunately looking at Cade and going through this forum it looks like it is quite important mentioning (in the Component Diagram) which JSPs are required and when.

I am posting/following this thread (http://www.coderanch.com/t/155747/java-Architect-SCEA/certification/no-component-diagrams) to get a better understanding, maybe you can get some inspiration too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic