aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Packages in class diagramm? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Packages in class diagramm?" Watch "Packages in class diagramm?" New topic
Author

Packages in class diagramm?

Tim Burmester
Greenhorn

Joined: Jan 31, 2011
Posts: 2
Hi Java-Friends,

i have got a question regarding packages in class diagramm:

I'm using Eclipse with modelling framework an it is possible to put classes in framed packages.
The classes are drawn inside the package frame. So, i can arrange my classes in the different tiers in the class diagramm.

package UI -> UI classes
package Business -> EJB, etc.

But is this appropriate for the class diagramm? Or schould i design my class diagramm without any packages?
I think the benefit is, that you can see the borders of the tiers very clearly.

What's your opinion?


Kind regards, Tim
Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
Tim,
I am also going to submit my assignment solution. I am not using packages as i asked few more folks(who have passed the exam) and they also haven't put down the packages. The UML tool that i am using doesn't let me enter a new line for the text in UML-due to that my class diagrams were getting too cluttered...that's why i am not using the packages....i am directly using the classes.


Ashutosh Sharma
SCJP 1.2, SCEA 5, Brainbench certified J2EE Developer, Documentum Certified Professional
Blog : http://scea5-passingpart2and3.blogspot.com/
Anil Chowdary
Ranch Hand

Joined: Jan 20, 2009
Posts: 43
I don't think it's advisable. You can show the demarcation/layering in the component diagram.


OCMJEA/SCEA, SCWCD, SCJP
Tim Burmester
Greenhorn

Joined: Jan 31, 2011
Posts: 2
Thanks for the advice!

Kind regards, Tim
Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
I have provided some extra diagrams to show the demarcation and boundaries.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Packages in class diagramm?