Incorrect/missing UML notation for interface/implementation on component diagram
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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"?
- 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"?
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
Viggo Navarsete
Ranch Hand
Posts: 42
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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...
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
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
In the picture: SafetyInspection is concrete component / class that is using Staff class through Inspector interface.
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
Viggo Navarsete
Ranch Hand
Posts: 42
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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?
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
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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.
Sorry, but I cannot give you all the answers. Just use google and you will see lot's of examples.
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
| Cob is sand, clay and sometimes straw. This tiny ad is made of cob: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |






