-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: ssv_2000
Message 5 in Discussion

Hi Arun and Pooran Prasad,
Thanks a lot for ur responses.

No. I am not interested in any short-cuts or quick fixes. As u have said, I do believe 
that the time spent on refactoring would serve right in the long run. I had been 
uneasy on this circular reference since we started.

My scenario of circular reference is that we have got UI Components (talking to) ---> 
business components (talking to) ---> data components. but instead of using datasets 
to return data from the business components to the UI layer, we r using custom classes 
representing business entities. These classes are the form in which data is passed 
between the business and UI tiers. The business components provide services like 
fetching data, updating data, performing random queries, doing complex calculations 
etc. Some methods of these components return single scalar values or simple dataviews 
and some return the whole entity like lets say an "Order" or a "Customer". Hence the 
business components DLL refers the Business entitites DLL. The business entities, 
internally, to get some simple scalar values or perform simple checks are permitted to 
call some methods of the business component and hence the need to refer the business 
components DLL and hence the circular reference. (The business components may later if 
reqd. be exposed via remoting and Business entities passed by value.).

I am working on how to re-design the structure so that there is no circular reference. 
But since the requirement is farily common, I was wondering how others handle the 
same? Have u guys come across similar scenarios? More suggestions on how to modify the 
design please? 

Thanks again.
SriVidya.


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to