How to communicate between two servers
<p>We have an application will dump files into a location which will be needed by a customer and vice versa, where in the customer side they are have a file server which contains the files that we need. </p>

<p>The process should start from our side, when we upload a file in our server, it should triger request to the customer side, for them to upload also a file to be map to be file we uploaded and send us the file.</p>

<p>How can do this? we are using Java in the application and also thinking about using webservice.</p>

<p>Thanks in advance.</p>
