Geeks With Blogs
Pradeep Loganathan Distributed February 2006 Entries
Two Phase Commit
To understand how a two phase commit works we need to understand all the actors involved in a two phase commit Resource Manager: A resource manager manages either a durable resource such as a database, (e.g. SQL Server), a queuing system (e.g. MSMQ) or a volatile resource (e.g. in-memory transacted hash table) and provides facilities for the transaction manager for resource enlistment, delistment e.tc. A Transaction Manager: The transaction manager provides facilities for an application to initiate ......

Posted On Thursday, February 9, 2006 9:04 AM

Two Phase Commit
To understand how a two phase commit works we need to understand all the actors involved in a two phase commit Resource Manager: A resource manager manages either a durable resource such as a database, (e.g. SQL Server), a queuing system (e.g. MSMQ) or a volatile resource (e.g. in-memory transacted hash table) and provides facilities for the transaction manager for resource enlistment, delistment e.tc. A Transaction Manager: The transaction manager provides facilities for an application to initiate ......

Posted On Thursday, February 9, 2006 8:53 AM

ServiceConfig
In .Net 1.1 it is possible to use the some of the services provided by System.EnterpriseServices without having to inherit from serviced component. For example of you want to use the transaction support functionality you could do this. public void DoWork() { System.EnterpriseServices.S... sc; try { sc = new ServiceConfig(); sc.Transaction = TransactionOption.Required; ServiceDomain.Enter(sc); Work(); ContextUtil.SetComplete(); } catch(Exception e) { Console.WriteLine(e.ToStrin... ContextUtil.SetAbort(); ......

Posted On Friday, February 3, 2006 3:44 AM

Copyright © Pradeep Loganathan | Powered by: GeeksWithBlogs.net