I have two application (java) on two PCs and a mobile application (Android)
My problem is the interaction between different applications with the database:
– Between PC and PC
– PC and mobile
PC <———> BD ————-> Mobile
What data base i use to connect and transfer data between the two. this is a remote communication.
PC <————–> base <——————> Mobile
Do you have any specific reason for using two different pcs?
Assuming if you have two application, you can deploy them in one PC and have DB in the same PC.
The design of the application should be like this.
1) Develop a REST/SOAP based Webservice application which talk to DB.
2) Deploy this application in Application server.
2) In your android application user REST/SOAP based webservice client to talk to the webservice hosted in step 2.