Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a java application that write some things on local disk and I need to have a replica in a remote system. Is there any usable tool for it?

share|improve this question

migrated from stackoverflow.com Jun 27 '10 at 12:20

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

If you want a Java solution, than the open source project SyncDir might help. You can use it manually or in a script, or directly in your Java program using it's API.

Of course there are many other solutions, but what you might be interested in, besides the simplicity of the API (or it's usage + documentation) might be the performance too (if you need to sync huge amount of files).

In this case, a performance comparison of the various libraries is necessary, so you need to design your code to easily be able switch between sync libraries.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.