Arquitetura REST em smartphones Android


Autoria(s): Ferreira, Pedro Bruno Viveiros
Contribuinte(s)

Ferreira, Luís Miguel Moreira Lino

Data(s)

17/05/2016

17/05/2016

2015

2015

Resumo

As grandes empresas como Google, com o Android, e a Apple, com o iOS, ajudaram a tornar a área das aplicações móveis muito apelativa e obtiveram um elevado sucesso. Com o crescimento elevado nesta área foi necessário usar uma solução que integrasse sistemas e permitisse comunicação entre aplicações diferentes, este é o caso dos Web Services, desta forma as novas aplicações podem comunicar com aplicações já existentes, e permitir que sistemas criados em plataformas diferentes comuniquem. O objetivo de um Web Service é disponibilizar uma plataforma independente de hardware e também uma plataforma que não implica estar escrita em determinada linguagem de programação. Para o acesso a um Web Service pode ser usado um protocolo ou estilo de arquitetura, nesta tese de mestrado são estudados os protocolos SOAP e a arquitectura REST, que diferem na técnica de acesso, a na sintax das mensagens trocadas. Para determinar qual dos anteriores (REST e SOAP) pode ser o mais adequado a usar no acesso a um Web Service são feitas análises a ambos e comparações entre os tempos de resposta de forma a determinar qual seria o mais vantajoso a nível de performance. O projeto que serviu como base desta tese de mestrado foi o desenvolvimento de uma aplicação de marcações em serviços beleza/saúde, a qual acede a um Web Service remoto através do REST.

The creation of applications for smartphones is a recent area, which has had a high growth due to increased adherence by population. Big companies like Google with Android and Apple with iOS helped make this area appealing and with successful. With the high growth in this area arises an necessary to use a solution that integrated systems and enable communication between different applications which is the case of Web Services, this way new applications can communicate with existing applications, and is possible tha systems built on different platforms can comunicate each other. The purpose of a Web Service is to provide a platform independent of the hardware and also a platform that does not mean to be written in a particular programming language. For access to a Web service can be used a protocol or architecture style, in this work are studied the SOAP protocol and the REST architectural style that differ in their access technique, and in the returned messages. To determine which of the previous (REST and SOAP) may be the most suitable for use in accessing a web service it is made analyzes and comparisons between them, analysing the response times to determine what would be the most advantageous in terms of performance. The project that was the basis of this thesis was the development of an application of markings on services beauty / health, which accesses a remote Web Service via REST.

Identificador

http://hdl.handle.net/10400.22/8226

Idioma(s)

por

Direitos

openAccess

Palavras-Chave #Web Services #SOAP #REST #Segurança #Testes #Security #Tests #Tecnologias do Conhecimento e Decisão
Tipo

masterThesis