[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Transfer a Dataset Server to Server DCOM vs .NET Remoting?

objectHuang

10/20/2004 7:32:00 AM

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.


2 Answers

Robert Jordan

10/20/2004 9:05:00 AM

0

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

Sam Santiago

10/20/2004 3:24:00 PM

0

Deriving from MarshalbyRefObject would only affect Remoting. DCOM would not
care. Check out this article too:

Designing Data Tier Components and Passing Data Through Tiers
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/...

Thanks,

Sam
--
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTe...
_______________________________
"Robert Jordan" <robertj@gmx.net> wrote in message
news:cl59o9$2h1$04$1@news.t-online.com...
> 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