InterviewSolution
| 1. |
Explain Transaction With Com+ Components? |
|
Answer» Transaction consists of group of task BIND in a single execution unit .When a transaction starts with specific task it is completed when all the statement in units are completed if any one produce error it will Rollback. So transaction have only two result Success and FAILURE. On the other hand COM+ components need code to transaction.Because it will automatically participate in transaction.Its not require any explicit code to specify the START and end of transaction. when we CREATE an object of COM+ it is activated with BeginTransaction with COM+ services provides.And this object is deactivated using CommitTransaction or AbortTransaction method. Transaction consists of group of task bind in a single execution unit .When a transaction starts with specific task it is completed when all the statement in units are completed if any one produce error it will Rollback. So transaction have only two result Success and failure. On the other hand COM+ components need code to transaction.Because it will automatically participate in transaction.Its not require any explicit code to specify the start and end of transaction. when we create an object of COM+ it is activated with BeginTransaction with COM+ services provides.And this object is deactivated using CommitTransaction or AbortTransaction method. |
|