jta « Library « Java Enterprise Q&A

1. Last Resource Optimization    stackoverflow.com

I'm writing a Resource Adaptor which does not support two phase commit. I know there is an optimization technique called: "Last Resource Optimization". On JBoss your XAResource class should implement LastResource in order ...

2. What is a good open source J2SE JTA TransactionManager implementation?    stackoverflow.com

Basically, what it says on the tin; I need a JTA implementation useable in a J2SE application, ideally one that doesn't carry too much of a framework burden with it.

3. How to write automated integrated tests when using JTA?    stackoverflow.com

I want to write integration tests for the application I'm working on. It uses JTA (multiple resources) and runs inside an application server. What is the best way for writing an ...

4. Simple JOTM Questions    stackoverflow.com

I'm starting to use JOTM and have a few simple questions:

  • If I start an embedded JOTM instance, can I perform a 2 phase commit between a remote database (with an XA ...

5. What are JTA best-practices and anti-patterns?    stackoverflow.com

I'm looking into JTA and I'd appreciate hearing about best-practices as well as anti-patterns for multi-threaded applications. Thanks,

6. Connecting to SSH using JTA in Java    stackoverflow.com

Can someone give me some example code? I've tried to look for the documentation but it looks confusing.. Or maybe I could use a different library to conenct to SSH in Java? ...

7. What is the best, easiest to integrate Java FOSS JTA lib?    stackoverflow.com

I am currently looking at JBoss Transactions and would like to hear about the experiences of others. I myself want something small, with few dependencies, few gotchas and follows standards...

8. Transaction name null if WebsphereUowTransactionManager is configured    stackoverflow.com

I am using Spring Transactions in my project. My Spring version is 3.0.3 and IBM Websphere v6.1.0.35. If I use JtaTransactionManager then transaction name gets printed properly in logs.

bean id="txManager" class="org.springframework.transaction.jta.JtaTransactionManager" 
Output ...

9. Using arbitrary resources with JTA    stackoverflow.com

Is it possible to make any type of custom resource transactioal with JTA? Let's assume a basic example and take a Folder creation that should be rolled back in case of ...

10. find out if there is a transaction associated with current thread?    stackoverflow.com

There is a method commit in user transaction class. When we do commit on it, first it finds that if there is a transaction associated with this thread. My question is ...

11. How to Calculate Jump Target Address and Branch Target Address?    stackoverflow.com

I am new to Assembly language. I was reading about MIPS architecture and I am stuck with Jump Target Address and Branch Target Address and how to calculate each of them. I ...

12. performance overhead of distributed transactions    stackoverflow.com

(When testing an implementation of distributed transactions using Atomikos, I noticed an large overhead (a transaction that took 30 milliseconds without using XA took 160 with XA) It looks like most of ...

13. Create parameterized Persistence Unit + JTA DataSource at Runtime (context dependent)    stackoverflow.com

i'm trying to write an EJB3 Stateless Session Bean which gets the parameter "customerCode" (String). Dependent on this "customerCode" i want to create an EntityManager (Persistence.createEntityManagerFactory...) with a (dynamically?) created PersistenceUnit. I can ...

14. Is it possible to set up parallel transactions in JTA (Atomikos)    stackoverflow.com

I have two transactional resources, database and message queue. So I use Atomikos as the XA transaction manager. Inside a transaction (tx1), is it possible to open another separated transaction (tx2) in ...

15. Is JTA available in JavaSE?    stackoverflow.com

Is it possible to make distributed transactions in JavaSE? I've heard about Atomikos, but I'm curious if I can use just standard Java.

16. About JTS/ JTA API's in j2ee    coderanch.com

17. J2EE configuration for JTA + Webserver    coderanch.com

18. Help on JTA    coderanch.com

Hi all, I have to learn JTA (Java Transaction API). To start with JTA, what are the online/books will be good, which also should have some examples on how it's working/implementing.. I have Sun's tutorial for JTA and I want other than this.. Whether for JTA, EJB knowledge is must..? [ January 02, 2007: Message edited by: Micheal John ]

19. what is differences between JTA and JTS    coderanch.com

I don't know. I do know that questions of the form "What is the difference between X and Y" are annoyingly vague and the answers are not likely to be helpful. Why don't you ask a question like "I want to do (insert your requirements here). Should I be using JTA or JTS or what?"

20. Is JTA applicable to common java code ?    coderanch.com

21. Informix and JTA compatability    dbforums.com

Hi all, Does anyone know if there are any Informix JDBC drivers that support the Java Transaction Architecture(JTA), or even if the Informix DBMS supports JTA itself. I have been trying to implement a simple web application that uses a stateless session bean through JBoss and makes use of Hibernate as the persistent layer to an Informix Database. Setting up Hibernate ...

22. a problem with jta    forums.oracle.com

15:43:52,437 INFO [STDOUT] find unKnown instance 15:43:52,437 ERROR [STDERR] java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate 15:43:52,437 ERROR [STDERR] at com.itrus.TestTransaction.testTransaction(TestTransaction.java:46) 15:43:52,437 ERROR [STDERR] at management.Register.doPost(Register.java:47) 15:43:52,437 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 15:43:52,437 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 15:43:52,437 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 15:43:52,437 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 15:43:52,437 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 15:43:52,437 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 15:43:52,437 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 15:43:52,437 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) ...

23. RE: JTA    forums.oracle.com