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?
Joined: Aug 23, 2004
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)