title: Best way to transfer data between two Java web applications running on different servers
body: <p><strong>I have the following scenario:</strong><br>
  There are clients which store data in their local databases and a server which timely request this data and stores to server's local database. So what is the <strong>best way to copy data to the server</strong>?</p>
  
  <p>I am using Java (JSP, Servlet) on both sides.<br>
  Thanks in advance.</p>