1) It depends what your component does.  I don't think you can assume that most 
components will
need to run in a transaction with anything else.

2) If COM+ is the solution for generic components - what will you do when requiring 
transactions
for remote Web Services?

There are clearly trade-offs.  Personally I'll judge on a case by case basis.

Peter

--- Thomas Tomiczek <[EMAIL PROTECTED]> wrote:
> Full acknowledgement here.
>
> So the conclusion is that for component development, it IS
> ServicedComponents. Period. We have to live with it :-)
>
>
> Regards
>
> Thomas Tomiczek
> THONA Consulting Ltd.
> (Microsoft MVP C#/.NET)
>
> -----Original Message-----
> From: Csaba Gero [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 14. Mai 2002 10:57
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier
>
> IMO the point is, if you are creating a "generic" component (whatever
> this may mean :)), you cannot know the environment in which it may run
> later and if it will have to run it in the same transaction with some
> other components or not. In this case you currently have no other choice
> than to go with COM+/DTC.
> Of course you could build your own "managed DTC", but most probably your
> implementation will not be compatible with components made by others.
> I think the whole transaction support and other COM+ services will be
> moved into managed space by Microsoft in the future, the context
> infrastructure required for it is already there. There will surely still
> be some overhead over manual transaction management, but it will
> hopefully be less than going through COM+.
>
> Regards
>   Csaba
>
> --- Peter Foreman [EMAIL PROTECTED] wrote:
> > Firstly, if you have multiple RMs then I'd go with COM+/DTC.
> >
> > However, the DTC is considerable overhead in the single RM case.  Code
> > transaction start/end
> > points in stored procedures or in ADO.Net code.
>
> You can read messages from the Advanced DOTNET archive, unsubscribe from
> Advanced DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>
> You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
>DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to