What is the difference between JTA and a local transaction?

前端 未结 4 1388
一向
一向 2020-12-12 10:14

What is the difference between JTA and a local transaction?

An example that shows when to use JTA and when to use a local transaction would be great.

4条回答
  •  北海茫月
    2020-12-12 10:52

    J2EE application includes suppoart fot DT through 2 specifications
    JTA--->Java Transaction API.highe-level implementation and is always enabled
    JTS--->Java Transaction Service.

提交回复
热议问题