SlideShare a Scribd company logo
Efficient Spring Data REST Development
2
Who I Am
3
What is REST (Representational State Transfer)?
 Software architectural style for creating RESTful web services
 Allow interoperability between Internet and computer
systems
 Requesting systems can access and manipulate web
resources represented as text
 Uses a set of well-known stateless operations
4
The REST Architectural Style
 Not protocol-specific, most widely used: REST over HTTP
 The representation of the state can be JSON, XML, or HTML.
 The client uses the API to send the following to the server:
 The identifier (URL) of the resource
 The operation to perform on the resource (GET, POST,
PUT, PATCH, DELETE)
5
What is an ETag?
 ETag (entity tag) - HTTP response header returned by an
HTTP/1.1 compliant web server used to determine change in
content at a given URL.
 Use ETags for caching and conditional requests.
 Efficiently controls data to be retrieved.
6
Generating REST Events
 There are two ways of generating REST events:
 Writing an AnnotatedHandler
 Writing an ApplicationListener
7
Projections and Excerpts
 Spring Data REST presents a default view of the domain
model you export.
 Sometimes you may need to alter the view of that model for
various reasons.
 Projections and excerpts serve as efficient and reduced views
of resources.
8
Reactive Access to Repositories
 Efficiently retrieve results as a stream
 ReactiveCrudRepository
 R2dbcRepository
Thank you!

More Related Content

PPTX
REST API
PPTX
Document Summarizer
TXT
Application enumeration and launch
PPTX
Representational state transfer (rest) architectural style1.1
PPT
Time for a REST - .NET Framework v3.5 & RESTful Web Services
PDF
Web Programming - 9 Create, Read, Update and Delete
PPTX
CodeMash 2013 Microsoft Data Stack
PPTX
2. http, html
REST API
Document Summarizer
Application enumeration and launch
Representational state transfer (rest) architectural style1.1
Time for a REST - .NET Framework v3.5 & RESTful Web Services
Web Programming - 9 Create, Read, Update and Delete
CodeMash 2013 Microsoft Data Stack
2. http, html

What's hot (18)

PPTX
Ado.net
PPTX
Sql Injection
PPT
ADO.NET Data Services
PPTX
Rest Best Practices
PPTX
Apple Health Kit from the Application Developer Point of View
PPTX
Rest surekha
PPTX
Internet
PDF
MXSync External Database Diagram
PDF
Web Programming - 8 Database, Model and Eloquent
PPTX
Rest api design
PPTX
Representational State Transfer
DOCX
Data mining with ms access
DOCX
Web 10mca556 syllabs
PDF
Web Programming - 7 Blading Template
PDF
Web Programming - 10 JavaScript
PDF
Automating Legal Analysis with AuthoritySpoke
Ado.net
Sql Injection
ADO.NET Data Services
Rest Best Practices
Apple Health Kit from the Application Developer Point of View
Rest surekha
Internet
MXSync External Database Diagram
Web Programming - 8 Database, Model and Eloquent
Rest api design
Representational State Transfer
Data mining with ms access
Web 10mca556 syllabs
Web Programming - 7 Blading Template
Web Programming - 10 JavaScript
Automating Legal Analysis with AuthoritySpoke
Ad

Similar to Efficient Spring Data REST Development (20)

PDF
Restful Services
PPTX
JAX-RS. Developing RESTful APIs with Java
ODP
RESTful Web Services with JAX-RS
PDF
O reilly sacon2018nyc - restful api design - master - v1.0
PPTX
Building Software Backend (Web API)
PDF
Web Services
PPT
Treinamento 1
PPTX
6 Months Industrial Training in Spring Framework
PDF
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
PDF
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
PPTX
Spring Web Presentation 123143242341234234
PPTX
Web api using rest based architecture
PPTX
ReSTfulAPIs
PPTX
A REST API (also called a RESTful API or RESTful web API) is an application p...
PDF
Restful风格ž„web服务架构
PPTX
Restful web services with java
PPT
emilio.ppt
PPT
emilio.ppt
PDF
Multi Client Development with Spring for SpringOne 2GX 2013 with Roy Clarkson
PPTX
RESTful services
Restful Services
JAX-RS. Developing RESTful APIs with Java
RESTful Web Services with JAX-RS
O reilly sacon2018nyc - restful api design - master - v1.0
Building Software Backend (Web API)
Web Services
Treinamento 1
6 Months Industrial Training in Spring Framework
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
Spring Web Presentation 123143242341234234
Web api using rest based architecture
ReSTfulAPIs
A REST API (also called a RESTful API or RESTful web API) is an application p...
Restful风格ž„web服务架构
Restful web services with java
emilio.ppt
emilio.ppt
Multi Client Development with Spring for SpringOne 2GX 2013 with Roy Clarkson
RESTful services
Ad

Recently uploaded (20)

PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Nekopoi APK 2025 free lastest update
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
assetexplorer- product-overview - presentation
PDF
medical staffing services at VALiNTRY
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Digital Strategies for Manufacturing Companies
PPTX
Transform Your Business with a Software ERP System
PPTX
ai tools demonstartion for schools and inter college
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Introduction to Artificial Intelligence
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Nekopoi APK 2025 free lastest update
Odoo Companies in India – Driving Business Transformation.pdf
Softaken Excel to vCard Converter Software.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
assetexplorer- product-overview - presentation
medical staffing services at VALiNTRY
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Digital Systems & Binary Numbers (comprehensive )
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Digital Strategies for Manufacturing Companies
Transform Your Business with a Software ERP System
ai tools demonstartion for schools and inter college
VVF-Customer-Presentation2025-Ver1.9.pptx
Introduction to Artificial Intelligence
Adobe Illustrator 28.6 Crack My Vision of Vector Design
How to Migrate SBCGlobal Email to Yahoo Easily
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
How to Choose the Right IT Partner for Your Business in Malaysia

Efficient Spring Data REST Development

  • 1. Efficient Spring Data REST Development
  • 3. 3 What is REST (Representational State Transfer)?  Software architectural style for creating RESTful web services  Allow interoperability between Internet and computer systems  Requesting systems can access and manipulate web resources represented as text  Uses a set of well-known stateless operations
  • 4. 4 The REST Architectural Style  Not protocol-specific, most widely used: REST over HTTP  The representation of the state can be JSON, XML, or HTML.  The client uses the API to send the following to the server:  The identifier (URL) of the resource  The operation to perform on the resource (GET, POST, PUT, PATCH, DELETE)
  • 5. 5 What is an ETag?  ETag (entity tag) - HTTP response header returned by an HTTP/1.1 compliant web server used to determine change in content at a given URL.  Use ETags for caching and conditional requests.  Efficiently controls data to be retrieved.
  • 6. 6 Generating REST Events  There are two ways of generating REST events:  Writing an AnnotatedHandler  Writing an ApplicationListener
  • 7. 7 Projections and Excerpts  Spring Data REST presents a default view of the domain model you export.  Sometimes you may need to alter the view of that model for various reasons.  Projections and excerpts serve as efficient and reduced views of resources.
  • 8. 8 Reactive Access to Repositories  Efficiently retrieve results as a stream  ReactiveCrudRepository  R2dbcRepository