Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

granularity of component diagrams

 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How much granular component diagram be?
Component is supposed to be separate dployable physical component.
So can I group all my EJB's in single component or each EJB would un itself be separate component?
 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I packaged the EJB's according to some rules and showed only the package in the component diagram. The package itself exposed the contained EJB's as a list of names.

Cheers,
Harbo
 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is package valid in component diagrams as per UML standards? Don't we have separate package diagrams?
Or do you mean you showed one big component with list of all EJBs?

I think it should be valid if I show each EJB as separate component. Though practically we deploy all of them together, theoretically each can be deployed as separate physical unit. Also if I show them as separate components, I can show their interdependency clearly ( which is not so clear on sequence diagrams)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic