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?
Joined: Nov 07, 2006
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.