Java executes ctl to achieve database synchronization