GeeCON Prague 2014*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Question about class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Question about class diagram" Watch "Question about class diagram" New topic
Author

Question about class diagram

Jamy Wang
Ranch Hand

Joined: Sep 21, 2003
Posts: 83
I am looking into the fbn case.
I have a question about class diagram, how should I show the client (including web client and application client) in the class diagram? May I show it as a common class named "JSP client" or "swing client", or show it as a package? Or they will both be OK?

Thanks


Best Regards<br /> <br />SCJP1.4 SCJD1.4 SCEA
Prasad Kuppa
Ranch Hand

Joined: Apr 01, 2002
Posts: 151
What I think is :

Class diagram only consists only classes and their relationships. Client is not a class, in the case you explained. Hence, you don't show it in the class diagram.

Prasad
[ March 16, 2005: Message edited by: Prasad Kuppa ]
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by james wang:
I am looking into the fbn case.
I have a question about class diagram, how should I show the client (including web client and application client) in the class diagram? May I show it as a common class named "JSP client" or "swing client", or show it as a package? Or they will both be OK?

Thanks


James,

Search for Parag Doshi's notes on Class Diagram. CD should be technology neutral.

You can show both the clients and other technology components in your Component diagram

Deepak
Jamy Wang
Ranch Hand

Joined: Sep 21, 2003
Posts: 83
Thank you for your replies.

So if I don't show the JSP client and swing client in the class diagram, how could I describe the relation between client and the front controller or filter?
william smith
Greenhorn

Joined: Feb 21, 2005
Posts: 15
yeah, you can show the clients in class diagram, sun also show the
clients as a class. I am also doing the same,
if you need more comments and can actively participate then pls join
http://groups.yahoo.com/group/j2eearch/
 
GeeCON Prague 2014
 
subject: Question about class diagram