Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Question about class diagram  RSS feed

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!