aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes can components be shared in packages in component diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "can components be shared in packages in component diagram" Watch "can components be shared in packages in component diagram" New topic
Author

can components be shared in packages in component diagram

raj sirohi
Ranch Hand

Joined: Mar 02, 2010
Posts: 35
Hi All,

I am struggling with component diagram, if I show packages containing components , can I have same components in two packages.

any help or thoughts will be highly appreciated.

thanks
Raj


SCJP5.0 , SCBCD5.0, SCEA
raj sirohi
Ranch Hand

Joined: Mar 02, 2010
Posts: 35
no one there to help

Raj
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31069
    
232

You realize it was the weekend, right?

I don't understand the question. Are you asking whether the a component can contain multiple packages? Or if you can have multiple components spread across the same multiple packages?


[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
raj sirohi
Ranch Hand

Joined: Mar 02, 2010
Posts: 35
Hi Jeanne,

Thanks for the reply.
my question is regarding the component diagram, I have been reading about component diagrams for the past one week and all the sources contradict the information.
In my component diagram I am showing packages which contain components, but these components are shared between packages, for example in presentation tier I have 3 packages each containing components, and I have two components which are in all three packages in paresentation tier. Is is ok to that components are shared between packages?

thanks a lot
Raj
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31069
    
232

Raj,
I see. I'm not sure about the exam, but in life that does happen in small applications. In larger ones, the packages stay separate.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can components be shared in packages in component diagram