Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class diagram vs component diagram

 
Ilja Gucalo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,


   my class & component diagrams looks very similar to each other. Could someone suggest what needs to be shown more on components diagram and what hidden comparable to classes ?




  
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rule of thumb: component diagram is a "high-level" diagram of class diagram.

Component in Oracle terms means "key" objects or group of objects.

 
Ilja Gucalo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JSPs for presentation. I believe its fine. Mark Cades example has JSPs and on class and on component.  What do you think if I present them on component diagram only ? JSPs are not a classes
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which book you referencing? Cade 1e or 2e (Sheil)

Any how the JSP files are in both class and component diagrams. JSP are indeed NOT classes but still put them in class diagrams.
 
Ilja Gucalo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Second Edition (Sheil)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic