|
From: Fayez A. <fay...@ya...> - 2004-03-04 21:00:13
|
I am doing my M.S. in Computer Science at San Francisco State University in USA. As part of my Master's project, I am working on Transaction Service for CORBA. I have just started my research on the topic and therefore, do not fully understand the internals of CORBA OTS. I would be grateful if someone could answer the following very simple question: 1) Suppose in my OTS application, I have just one Resource object called Account. Following is my client pseudocode: tx->begin(); account->deposit(20); account->withdraw(10); account->get_balance(); tx->end(); At what point does that Account object get registered with the Transaction Manager. Should I have Coordinator::register_resource(...) explicitly in my client code before tx->begin()? Or does the OTS automatically register the Resource object when I invoke account->deposit(20)? If OTS does it automatically, could someone shed some light on how it is handled in XOTS? Thanks, Fayez Asar. --------------------------------- Do you Yahoo!? Yahoo! Search - Find what youre looking for faster. |