• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Incorrect/missing UML notation for interface/implementation on component diagram

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have modeled all parts on the component diagram using Component:
- JSP and Managed beans in presentation tier (<<component>>)
- Stateless session beans in business tier (<<component>>)
- DAOs in integration tier (<<component>>)
- External systems (<<component>><<external>>)

I have used Usage symbols with <<use>> between all the components

Should some of the Components be replaced by something else since I've got "Incorrect/missing UML notation for interface/implementation"?
 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you some example how you've modeled them? Maybe link from web? But, please do not post any links to real exam uml pictures.
 
Viggo Navarsete
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you look at the Staff, SafetyInspection, Map and Defect from this page: http://www.visual-paradigm.com/VPGallery/diagrams/Component.html
That's the way I modelled all the compoents in my component diagram. No interfaces or anything else.
And I used arrows like those from this page between all my components to describe how they related: http://www.visual-paradigm.com/VPGallery/diagrams/Package.html (and used <<use>>)

..one week until I have to resubmit my assignment...
 
Jari Timonen
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem is that, that notation ( http://www.visual-paradigm.com/VPGallery/diagrams/Component.html ) is called lollipop and requires usage of interfaces. Round thingy is the interface and curvy indicates using that interface.

In the picture: SafetyInspection is concrete component / class that is using Staff class through Inspector interface.
 
Viggo Navarsete
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ah, ok..so I'm missing all the interfaces for the components/classes?!
I can understand that I could/must add interfaces for the stateless session beans in the business tier, and for the DAOs in the integration tier, but what about the managed beans in the presentation tier?

Another question: I have divided the component diagram into three boxes, one for each tier (presentation, business and integration tier). I've put the external systems outside the integration tier. So, should the interfaces(round symbol) be between the boxes/tiers, or inside?
 
Jari Timonen
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my opinion managed beans does not need to implement any interface.

Sorry, but I cannot give you all the answers. Just use google and you will see lot's of examples.
 
Hug your destiny! And hug this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic