~/talk

Spring Data REST: Easily export JPA entities directly to the web

Talkat SpringOne2GX 2012 · 2012-10-01..10-03· [web-platform, java]
links:none on file
slides:none on file

Spring Data REST exposes JPA repositories as HTTP resources with automatic CRUD, finder endpoints, paging and HATEOAS links; it returns JSON (supports JSONP+E), uses entity version as an ETag, and lets you disable export of methods. Live demo shows creating ads, adding finders, JS R 303 and Spring Validator rules, and receiving repository events wired into Spring Integration and RabbitMQ. Extension points include resource processors, custom Jackson modules and converters; configuration controls base URI, media types and exported rels.

AI-written summary · about

  1. 0:00Introduction
  2. 5:20What a repository looks like
  3. 6:08Semantics
  4. 12:14HatOS
  5. 16:33Repository Configuration
  6. 18:22Initializer
  7. 24:59REST Shell
  8. 27:54List
  9. 31:24Change representation
  10. 34:59Compact JSON
  11. 36:39Export under singular
  12. 44:39Customize configuration
  13. 55:19Validator
~/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.