| Author |
To show GUI classes to be shown in Class Diagram
|
Sam Gehouse
Ranch Hand
Joined: Jul 21, 2003
Posts: 281
|
|
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
Joined: Nov 07, 2006
Posts: 27
|
|
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.
|
 |
 |
|
|
subject: To show GUI classes to be shown in Class Diagram
|
|
|