sorry for the simple question, but what's the difference if i use homogeneous or heterogeneous deployment (regarding to distributed two-phase-commit).
how could I implement the follow: 1- access a method from a session facade from a client (this have required transaction attribute on this method). 2- the session facade finds and changes some cmp attribute. 3- the session facade uses jdbc to change some data from legacy 4- the transaction is commited ou relled back. Does this works using jbossTM? obs: both cmp and legacy db are Oracle. Anatoly Akkerman wrote: > David Jencks wrote: > >> You will probably want to use Tyrex for now. >> > > As the author of Tyrex plugin, I have to advise you not to use Tyrex > plugin in production environments, it is very inefficient (for every > outstanding (not committed) transaction and its distributed XAResource > (or propagated tx) you get an instance of an RMI UnicastRemoteServer > running). More efficient implementation is possible (I can share some > design ideas and some code if someone is willing to do the complete > implementation). > > On the other hand, distributed 2pc is slow to begin with. If you are not > doing lots of it, it might still be fine. Please, avoid distributed 2pc > as plaque, if you need performance. > >> Both the jboss tm and tyrex can use XAResources from Oracle and other xa >> capable resource managers, and follow the xa 2pc protocol (at least as >> far >> as it is comprehensible). However, the jboss tm does not log >> transactions, >> so there is no automated recovery. The jboss tm also does not currently >> support distributed transactions, although this should be coming soon in >> jboss 4. If you have a homogeneous deployment this would not be >> relevant, >> however. >> >> david jencks >> > > -- xxxxxxxxxxxxxxxxxxxxxxxxxxxx | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959 | | SICREDI Servi�os | | Porto Alegre - Brasil | |xxxxxxxxxxxxxxxxxxxxxxxxxx| ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
