I read about Java Transaction , and I was confused about what it is? and what is useful in?
You can search Google and find the following pages: http://www.java-tips.org/java-ee-tips/enterprise-java-beans/introduction-to-the-java-transactio.html
but bottom line: a transaction is a set of operations that must be successful or all fail and be canceled (rollback).
An obvious example is banking: if you transfer money from savings to verification, then both updates are better or not, otherwise there will be an error.
I would say that it is best to start:
http://en.wikipedia.org/wiki/Transaction_processing
http://en.wikipedia.org/wiki/ACID
Thanks Nitin
Source: https://habr.com/ru/post/887031/More articles:function value in c / c ++ - c ++How to send JSON data as request body in Apache CXF jax-rs (REST) - javaDeploy IE9 Extension - c #Where is the mount point for iPod / iPhone on Mac? - command-linegetElementsByTagName (). length returns zero - javascriptMatch all lines with four spaces - javascriptgetElementsByTagName ("div"). length returns zero for any web page - javascriptWhat is vertical and horizontal distribution? - distributed-systemSemaphores: where can I learn about basic concepts such as permissions, justice, barges, etc. - javaIs it possible to query a custom type with multiple properties mapped to a single column? - c #All Articles