Dawa,
The main reason I asked about Web Services is just so that you'd keep in mind the stateless nature of Web Service calls (and consequently the stateless nature of your BLL object in such a call).
I use my Web Service methods almost exclusively as wrappers around the calls to the BLL methods (with a few exceptions). So, in this case, only one BLL method is called from the Web Service and that one BLL method does all the work. Therefore, it's pretty painless to have a reference to the DAL that every BLL method can use and there's really no reason not to do it this way, AFAIK.
I'm trying to come up with a scenario when it might be better to use your second option (passing reference to DAL to each method call) and I can't think of any reason off the top of my head where that might be better.
~~Bonnie
>>It depends <g> ... are you using Web Services to call your BLL?
>
>Bonnie,
>
>Thanks for the reply.
>
>With your recommendation of SOA, yes, I plan to call it from WS. But I don't want to rule out the possibility of calling it from desktop applications.
>>It depends <g> ... are you using Web Services to call your BLL?
>
>Bonnie,
>
>Thanks for the reply.
>
>With your recommendation of SOA, yes, I plan to call it from WS. But I don't want to rule out the possibility of calling it from desktop applications.