Hello. Need a server with a database and clients on the PC and android with which to work with the database. I still do not really understand this. Please tell me where to start. Maybe some literature (preferably Russian). I understand that you can do everything on java?

Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants of Oceinic , tutankhamun , fori1ton , Saidolim , s_klepcha October 13 '15 at 14:19 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

    2 answers 2

    Please tell me where to start.

    read a couple of books on java.

    I understand you can do everything on java?

    on android on java will be the most simple, on the desktop - in principle, too, if you approach correctly, there will be a lot of common code.

    I need a server with a database

    On the server, it is good to make any wrapper on json / xml + REST. The base should not stick out. option 1 and option 2 . I am personally for json + REST. But there are also fans of xml. Binary protocols are also possible - protobuf.

    Maybe some literature (preferably Russian)

    Bruce Ekkel, The Java Philosophy, and Horstmann and Cornell's two-volume book .

      Faced recently with such a problem. I implemented it like this: Android-> via JSON requests -> PHP script that directly works with MYSQL -> via JSON, the result is returned -> The result of the request is processed. As if all.