at the moment I have two Java Servers(Game and Database servers) in the future there will be more. I need establish network communication between its, since they can be run on different machines.
Initially, I thought to serialize objects and send them over the network, let's say you need to save the user to the database, I serialize the object and send it to save, but how can we be with the deletion, modification, etc... So I think this approach is not very preferable.
In this regard, the question may be there are any ready-made tools or technologies for this purpose, or it may be worth to implement the Protocol itself(but then how better to do it)?