Rest basico
10
Arquitetura Rest Jersey
-
Upload
william-andrade -
Category
Technology
-
view
25 -
download
0
Transcript of Rest basico
![Page 1: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/1.jpg)
Arquitetura RestJersey
![Page 2: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/2.jpg)
• Escalável.
• Tolerante a falhas.
• Seguro.
• Baixo acoplamento.
![Page 3: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/3.jpg)
Recurso
![Page 4: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/4.jpg)
• Fotos.
• Relatórios.
• Arquivos.
![Page 5: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/5.jpg)
Identidade
![Page 6: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/6.jpg)
• exemplo.com/rest/clientes
• exemplo.com/rest/clientes/4
![Page 7: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/7.jpg)
Interface Uniforme
![Page 8: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/8.jpg)
• GET() - Atualiza ou Recupera dados visivelmente.
• POST() - Atualiza ou Recupera dados em back.
• PUT() - Adiciona.
• DELETE() - Deleta.
![Page 9: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/9.jpg)
Estado
![Page 10: Rest basico](https://reader036.fdocumentos.tips/reader036/viewer/2022082705/55a5fac11a28ab66588b4639/html5/thumbnails/10.jpg)
• Falta de Estado.
• Escalabilidade.
• O Cliente cuida das seções.