This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?
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.
Joined: Apr 25, 2003
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)