~/talk

From CRUD to Hypermedia APIs with Spring

Talkat JavaDay Minsk 2016 · on Saturday, 2016-06-11· [api-design, spring]
links:none on file
slides:none on file

Shows a live Spring Boot prototype that starts from auto-exposed CRUD (Spring Data REST + HSQLDB + JPA) and adds real business actions — publish and expire — implemented as POSTable subresources and guarded by lifecycle checks; server returns links that clients follow instead of hardcoded URLs. Uses Spring Data REST, Spring HATEOAS (ResourceProcessor, EntityLinks) to add action links, and Spring REST Docs + MockMvc to generate tested docs. Demo seeds 100 random ads, works end-to-end.

AI-written summary · about

  1. 0:00Introduction and thanks
  2. 2:30About the talk and speaker
  3. 3:32Project idea: Black market currency API
  4. 4:14Setting up Spring project
  5. 6:38Domain model and repositories
  6. 9:48CRUD API with Spring Data Rest
  7. 13:21Limitations of CRUD APIs
  8. 14:24Adding business processes
  9. 16:54Implementing publishing and expiration
  10. 23:38Problems with URL-based APIs
  11. 26:26Introduction to Hypermedia APIs
  12. 27:28Adding hypermedia links with Spring HATEOAS
  13. 31:27Testing hypermedia API
  14. 35:19Hypermedia in real-world APIs
  15. 36:01Documenting APIs with Spring REST Docs
  16. 41:19Enforcing documentation completeness
  17. 42:23Summary and tools overview
  18. 43:07Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.