In the previous session we explained how to store data locally and now we will learn how to get these local database and send information to an external or receive external database data through a solution used in systems integration and in communication between different applications, call Web Services.
Through this technology, it is possible that applications that are under development will communicate with applications that have already been developed. In addition to enabling integration between different platforms developed in different programming languages.
For businesses, Web Services can bring agility to processes and efficiency in communicating between production chains.
Make use of Web Services behind both technical development and your business, such as:
- Integration of information and systems;
- Reuse code;
- Reduction of development time;
- Greater security;
- Reduced costs.
In order to communicate between two technologies constructed with different languages, a third language is required to function as "universal" and to guarantee communication. There are 3 protocols that play this role:
- SOAP (Simple Object Access Protocol)
{% page-ref page="../apis/soap.md" %}
- Socket
{% page-ref page="../apis/socket.md" %}
- REST (Representational State Transfer).
The easiest and most recommended is the Rest, due to the ease to execute it and so is the one that we will demonstrate in the chapter below:
{% page-ref page="../apis/api-rest.md" %}