search

Home  >  Q&A  >  body text

java - Distributed transaction processing solution

Do you need distributed transactions to deploy hibernate on multiple web servers to operate the database?

Will there be any problems if I use the traditional stand-alone method to access the database?

How does the industry deal with this problem

女神的闺蜜爱上我女神的闺蜜爱上我2762 days ago1269

reply all(1)I'll reply

  • 代言

    代言2017-06-23 09:16:37

    Web Server -(Access)-> Database Server:

    Distributed transactions are possible only when one web server accesses multiple database servers at the same time;

    If multiple web servers access one database server, that is not called a distributed transaction.

    reply
    0
  • Cancelreply