Stereotyping classes is something a lot of people do..
However, stereotyping classes with design pattern names could be misleading...you should rather stereotype classes with the 'role' they play in the design pattern..
in your example,both 'command' and 'SessionFacade' are the roles classes can play...but there might be some patterns such as 'CoR' in which naming a class that way would be incorrect..
if i confused you,let me know and i will elaborate..
OCMJEA/SCEA, SCDJWS, SCBCD 1.3, SCJP 1.4
My SCEA experience:http://javalogue.blogspot.com/
Joined: Sep 09, 2008
Then should I:
a) add a note stating the design patterns I used?
b) drop the all stereotypes that describes the various roles of the classes?
Joined: Jan 22, 2006
b) No, i think you misunderstood me here. I am actually encouraging you to add stereotypes but the sterotype names should reflect the role the class plays in the design pattern rather than the name of the design pattern itself. Hence, Command and Session Facade are valid stereotypes..