Hi, I have a question regarding modelling relationship b/w classes .. I have a scenraio where controller dispaches request to view... Now what relationship I have to use in this situation.. As there is no structural/semantic relationship b/w these 2 i feel this is dependency.. But saying that , view is not dependent on controller.. I would like to know all ur comments on that.. Secondly if A depends on B , if we want to model relationship from b->a what relationship holds good? or is Bi-Directional Dependency exists? TIA Manohar
I think the controller can dispatch direct messages to the view, that would mean a normal association. _________________________________________________________________________
If the only relationship between A and B is that A depends on B, there is no relation B towards A.
SCJP2. Please Indent your code using UBB Code
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
a bit of art, as a gift, that will fit in a stocking