| Author |
UML component diagram
|
Srinivasan Rengan
Ranch Hand
Joined: Nov 07, 2004
Posts: 122
|
|
Hi All,
I am designing my component diagram in the way Humphrey Sheil had done it. I found that way of representation very simple and effective.
But unfortunately starUML does not allow that to happen.
I am trying to indirectly make it happen by using the rectangles in starUML annotation and placing component inside. But unfortunately the rectangles don't accept dependency relation.
Any thoughts about a work around or any other tool would greatly be appreciated :-)
Thanks
Srini
|
SCJP, SCWCD, SCBCD (EJB 2.x and EJB 3), OCA, SCDJWS
|
 |
Caldwell Baxter
Greenhorn
Joined: Oct 06, 2010
Posts: 13
|
|
If you can, use MS Visio 2003+.
There are UML stencils freely available for download. They work in all versions of Visio (Basic, Pro and Deluxe) <-- or whatever the actual MS names are.
In Visio Pro and up you also have the Microsoft stencils available.
I didn't find those of much use, except for the class classifier which has all three compartments, as opposed to one compartment in the downloadable stencils.
You can work around the one compartment limitation though by inserting "--------------" between the lines.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
|
These are the Visio UML stencils, Cadwell is alluding to.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Caldwell Baxter
Greenhorn
Joined: Oct 06, 2010
Posts: 13
|
|
Yup, and if you look closely at chapter 9 in Sheil's book, it appears that most of the diagrams were drawn in Visio and using the very downloadable stencils above.
Also, this is exactly what I used for my submission (including the "----------" trick to simulate compartments in the class classifier), and I've passed from the first try!
Free additional tip (to help with passing from the first try): I love Tomasz Romanowski! Or what he had to say, rather.
|
 |
 |
|
|
subject: UML component diagram
|
|
|