Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3962984
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:09:41+00:00 2026-05-20T03:09:41+00:00

I am developing a Java app where several computers need to keep some a

  • 0

I am developing a Java app where several computers need to keep some a data file in sync. I cannot use a central repository, and I would like to use an existing system that does the synchronization rather than write my own.

I have been thinking of Git, as it is one of the version control systems that is distributed and can work without a central repository. (SVN is out of question since it depends on a central repo).

The computers will talk to each other via a messaging system such as JMS, using which they will keep the data in sync.

Is using Git a good idea? Is there a better method? Is it possible to easily plug in Git with my Java code, so that it works transparently to the user?

[EDIT: giving some more details of my requirements.]

There are three computers A, B, C which are somehow able to talk to each other (i.e., send strings to and receive strings from each other). This communication ability is outsourced and I am given read and write operations for this. The computers may not use standard protocols such as TCP but the bottomline is that the read and write functions work as required – transferring a string from one point to another.

The computers may not be online all the time.

I now want to hook up GIT or some other file sync tool so that I can keep a particular directory on A, B, C synchronized. I am inclined to use GIT because it is fast and does not require an omnipresent central server. However, I will need GIT to communicate over my read and write methods rather than use the TCP/IP stack that it normally does.

Can anyone provide some hints on how to accomplish this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:09:41+00:00Added an answer on May 20, 2026 at 3:09 am

    It’s hard to suggest a solution without detailed knowledge of your requirements, but have you checked out Hazelcast? It has distributed implementations of a lot of the Java collections. It works over a multicast network and requires pretty much zero setup.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a java app for nokia s40 mobiles. My jar file increases
I have some problems with a java app i'm developing, i'm using HtmlCleaner 2.2
I'm developing a java app that exports data to CSV files, intended to be
I am developing a Swing/Java app but having difficulties passing data from the initiliaser
I'm developing some kind of plugin which should be called by external java app.
I am developing a java app, and I use resultset. I write this query,
I'm developing a java web app on my local PC that uses a file
I'm developing a Java app that will run as two processes that need to
I'm developing a Java web app in which in some cases i have to
I am developing a Java GWT & App Engine application and use a CellTable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.