This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Component Diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Component Diagrams" Watch "Component Diagrams" New topic
Author

Component Diagrams

Marcel Dullaart
Ranch Hand

Joined: Nov 07, 2007
Posts: 55
Hi Ranchers,

I want to show the classes that are part of a component in a component diagram. For instance I have a component, named say my-service-client.jar that contains the local and/or remote business and home interfaces to my service. In addition I have another component that contains the bean's implementation.
Now how can i model this relationship in a UML-2 component diagram?

Thanks,
Marcel
[ April 14, 2008: Message edited by: Marcel Dullaart ]

"It would be faithless now to say farewell." (FotR, p. 419)
http://marcels-javanotes.blogspot.com/
Juan Pablo Crossley
Ranch Hand

Joined: Oct 16, 2007
Posts: 128
why are we talking about Home and Remote interfaces? the new SCEA will ask you about EJB 3.0 which does not have those interfaces anymore!


SCJP, SCBCD, SCEA 5, MCP

How to pass SCEA 5 | 2, 3, N-tier which one should I pick? | Analysis of persistence layer from SCEA 5 perspective | Swing... why not?
Juan Pablo Crossley
Ranch Hand

Joined: Oct 16, 2007
Posts: 128
I think you're misunderstanding the meaning of "Component", 1 class is not really a component... and certainly not it's interfaces, you could talk about the "Cash" component which could be a lot of classes which have some interfaces to the "external" world and not even have a Cash class on it.

So, if you have a component which will lead with the banking communication it could have socket classes, bean with the implementation, some interfaces and some other utilities, this group could be named as "BankingComponent" and will be drawn as 1 component.
Marcel Dullaart
Ranch Hand

Joined: Nov 07, 2007
Posts: 55
Juan , thanks for your reply, but some people are still working on SCEA 2, and I do understand the meaning of a component, I'd like to express which classes make up a component.
I have class diagrams that express the relations between the several classes that make up my solution, but then I have component diagrams that show the relations between the components that the solution is divided in.
These components are only useful if they contain some classes or other artefact's, hence my question, how do I show which classes make up my components?

Grtz,
Marcel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Component Diagrams
 
Similar Threads
Expressing Container Services
ServiceLocator in Component Diagram
Login/Authentication Module and Component Diagram
can I ommit the ServiceLocator from the component diagram?
Representing VOs