• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Packages in class diagramm?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think it's advisable. You can show the demarcation/layering in the component diagram.
 
Tim Burmester
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the advice!

Kind regards, Tim
 
Sharma Ashutosh
Bartender
Posts: 354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have provided some extra diagrams to show the demarcation and boundaries.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic