Robert Jordan
10/20/2004 9:05:00 AM
objectHuang wrote:
> I will develop a application, and the application will physically deploy as
> three tier application: Web server, Application Server (Which host business
> object) and Database Server. And We decided that we should host the business
> object in the COM+ service.
> Now I have a question that which protocal should I use:
> DCOM or .NET Remoting. The special problem is:
> How will DCOM transfer a DataSet from application server to web server, by
> value or by reference? if by value it will be ok, but if by reference, may
> be we need more consideration.
>
> Can any one help me, thanks a lot.
The protocol (DCOM or .NET remoting) has no influence on how
objects will be marshaled. In both cases the DataSet
will be marshaled by value, because it's not a MarshalbyRefObject.
bye
Rob