~/talk

From REST to Hypermedia APIs with Spring

Talkat JavaDay Kharkiv 2015 · 2015-10-15..10-16· [spring, api-design]
links:none on file
slides:none on file

A small server for a black‑market currency board gets built live using Spring Data REST, JPA and H2 with 100 generated ads and pagination working out of the box; custom POST endpoints implement business actions (publish, expire) so state transitions live on the server instead of the client; a ResourceProcessor adds HAL links so clients discover allowed actions; tests via MockMvc record real HTTP request/response examples and feed Spring REST Docs to generate documentation, demonstrating a working HAL (HAL) hypermedia API.

AI-written summary · about

  1. 0:00Introduction
  2. 3:30Spring Boot project setup
  3. 10:47Application models and repositories
  4. 13:59REST API limitations
  5. 16:26Adding business logic
  6. 24:39Moving to Hypermedia API
  7. 29:14HATEOAS with Spring HATEOAS
  8. 37:03API documentation with SpringDoc
  9. 43:26Summary and Spring API tips
  10. 46:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.