Android / IOS vs Java

2

Suppose I have an app on android or ios

I have a system done in java and e to publish data that will be downloaded from the internet by the application. All of this is inside a web server

How do I communicate between system and application?

  • Do I make HTTP requests directly on the server?
  • Build a webservice to communicate system and app?

I do not have development skills in any of the languages, I just want to understand how theory development works

    
asked by anonymous 08.12.2015 / 16:38

1 answer

1

Briefly, ideally you should create a REST API and a pattern of data representation so that both your mobile application and your application can share information with each other. This information can be represented using JSON, since most languages have libraries to read and write JSON files, and it is much lighter than XML.

For information on how to quickly implement a REST API, take a look at this link (in English)

    
08.12.2015 / 17:40