What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?



What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in..

Answer / Diksa Kapoor

A local transaction datasource is used for local transactions within a single application server, while an XA datasource supports global distributed transactions across multiple application servers. Both support the use of transactions, but local transaction datasources are typically simpler and faster than XA datasources.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What you mean by COM and DCOM?

1 Answers  


What is the name of the state, when a thread is executing?

4 Answers  


What are the call back methods in entity bean?

1 Answers  


What are skeletons and stubs and how they are generated?

2 Answers  


What state a thread enters, When it blocks on I/O?

2 Answers  


Different between Struts and Spring? or Why use Spring, if you are already using Struts?

3 Answers   HP,


What method is invoked to cause an object to begin executing as a separate thread?

1 Answers  


what are design patterns in java?give with example?

2 Answers   HCL, iGate,


What is meant by multi-threading?

6 Answers  


function of extends and implements keywords?

2 Answers  


what is singleton class? where it mainly used in the projects?

5 Answers   Satyam, Wipro,


What are preemptive scheduling and time slicing and what is the difference between them?

1 Answers  


Categories