Quoting SHDWFKSHDWFK <[EMAIL PROTECTED]>: /webservices/kandula/branches/Kandula_1/src/samples/banking/src/bankone
There are 2 ways to use a resource. If you are using kandula-1, kandula-1 can provide a j2ee transaction context to an application that needs one in response to an incoming ws-at coordination context. Hence a j2ee application can be run as a web service without modification. For this you need a kandula-1 compatible j2ee transaction manager (a jta implementation like the one you find in Geronimo j2ee container). The other approach requires no j2ee presence. You can use the transaction manager provided in kandula-1 (/webservices/kandula/branches/Kandula_1/src/java/org/apache/kandula/ coordinator/at/TransactionManagerImpl.java) and enlist your resources there. However, these resources must extend /webservices/kandula/branches/Kandula_1/src/java/org/apache/ kandula/coordinator/at/AbstractParticipant.java If you are using j2ee web services the first option is the natural choice. However, we are still to implement that in kandula-2. This way, JDBC resources need no special treatment. The latter however, requires a thin wrapper that extends AbstractParticipant. thanks, --dasarath > > > Hello, > I have a problem about kandula2. There is a junit-test named > ¡°CompletionCommitTest¡± in kandula2; and in this test, a class named > ¡°DummyResource¡±(implementation of KandulaResource) is defined. How can I > implement a ¡°real resource¡± with some existing XAResource implementation? > Do you have any other KandulaResource Implementation, except for > this dummy one, for example, the one with JDBC transaction support? > Or how can I implement a sample like BankOne in kandula1? > > > Thank you in advance, > > > Fk.Wang > Beijing University of Aeronautics and Astronautics, China > [EMAIL PROTECTED] > > _________________________________________________________________ > ͨ¹ý Windows Live Spaces ÓëÅóÓÑÇáËɹ²ÏíÄúµÄÉú»î¡£ > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=zh-cn --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
