Building a RESTful Web Service - Ludovic Dewailly.pdf
(
1361 KB
)
Pobierz
Building a RESTful Web Service with
Spring
Table of Contents
Building a RESTful Web Service with Spring
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. A Few Basics
REST principles
Uniform interface
Client-Server
Stateless
Cacheable
Layered system
Code on demand
The Spring Framework and REST
Our RESTful web service
Architecture
Data model
Summary
2. Building RESTful Web Services with Maven and Gradle
Apache Maven
Dependency management in Apache Maven
Gradle
Dependency management in Gradle
The structure of our sample web service
The anatomy of a Service Module
Local versus Remote Service Invocations
Developing RESTful web services
Working with your favorite IDE
Making services executable
Starting services with Maven
Summary
3. The First Endpoint
The Inventory service
REST and the MVC pattern
Request mapping
Path mapping
HTTP method mapping
Request parameter mapping
Running the service
A few words on data representation
Summary
4. Data Representation
The Data-Transfer-Object design pattern
The API response format
The envelope format
Error management
Plik z chomika:
Azunai
Inne pliki z tego folderu:
Learning Spring 5.0 - P.M. Jog.pdf
(4713 KB)
Learning Spring 5.0 - P.M. Jog.mobi
(320 KB)
Learning Spring 5.0 - P.M. Jog.epub
(331 KB)
Building a RESTful Web Service - Ludovic Dewailly.pdf
(1361 KB)
Mastering Spring Application Development - A. Mankale.mobi
(4297 KB)
Inne foldery tego chomika:
2dartist
3D Artist
3D World
3dcreative
3ds Max
Zgłoś jeśli
naruszono regulamin