Home > Back-end >  Java project development train of thought to solve
Java project development train of thought to solve

Time:12-16

Bosses, now have a business is a separate put out data from a database in another data, to bring out this business alone do a daemon, I now want to use springboot + mybatis, then in the idea of new maven project integration, and finally into the jar on Linux running on the server, the idea is feasible, do you have any better idea

CodePudding user response:

Basic right, but also write a Linux service script, complete automatic start

CodePudding user response:

Write their own synchronization process is the most important is to consider the data consistency, master database insert, update, delete operations are synchronous in the past, this involves the bad global controls the place to write their own code, if the mysql database is recommended that you consider canal,

CodePudding user response:

Write programs synchronization easy to appear problem, isn't it better to direct database synchronization?

CodePudding user response:

Thinking no problem, it's best to do a background management page, can inquire pull records, and data exception handling, etc., timing task automatically pull

CodePudding user response:

No problem, this is very stable, can use the idea of spring, initializer to quickly build project
  • Related