File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes granularity of component diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "granularity of component diagrams" Watch "granularity of component diagrams" New topic

granularity of component diagrams

D. Rose
Ranch Hand

Joined: Apr 25, 2003
Posts: 215

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

Joined: Aug 23, 2004
Posts: 108
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.

D. Rose
Ranch Hand

Joined: Apr 25, 2003
Posts: 215
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)
I agree. Here's the link:
subject: granularity of component diagrams
It's not a secret anymore!