Victor-OE Cardona wrote:Hi,
I know what you mean, you decided to work with the composite pattern, i don't see any problem if you depict in your composite classes wich ones is the composite (house, Aperture component), and which ones are the leafs (Wall, Roof, etc).
did you depict this kind of structure?
Victor-OE Cardona wrote:Hi Oleg.
"BUT in fact they are not needed and will only reduce the flexibility of the SuD."
I think is needed to depict those classes in your diagram in order to let the designers and developers to know that the composition is about house or buildings. I think that it is not going to reduce the flexibility because using the composite patterns makes the application open for extension (add the pool later)
William Taylor wrote:Shall we put JPA entities in the component diagram? I think it adds too much detail, however, the requirement asks to show major POJOs in the Component Diagram.
If it is necessary, what the dependencies? Let EJBs depend on entities, then entities depend on the external inventory system looks weird...
Any suggestion? Thanks a lot.
Prashant Purkar wrote:Hi Oleg,
Wouldn't it put too much information in component class if it represents everything.
Like only design can have state of completion while no other component has that.
Victor-OE Cardona wrote:Hi Oleg.
What you mean is that the component description is store in the Inventory System ?
why we can't load the component's details from the data base ?
Prashant Purkar wrote:
Synchronization wouldn't be required if a component in the inventory system changes, its ID is changed as well.
One question regarding the component diagram, is it ok to show abstract classes as interfaces in component diagram?
With interfaces one get those ball and socket notation in a diagram.
I actually wanted to use interfaces in the first place but jpa doesn't support interface inheritance so I have to use abstract classes.
Prashant
Oleg Kuzin wrote:Hi all.
I've just got a P status after resumission which means I'm SCEA now. Although I consider my first solution to be better than the resubmitted one.
Thanks to everyone who shared their ideas and thoughts.
Cheers and good luck!
Oleg
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|