~/talk

Extending Spring Data

Talkat Spring I/O 2016 · 2016-05-19..05-20· [java, developer-experience]
slides:none on file

Built an admin backend that uses Spring Data JPA + Spring Data REST, with modules supplying entity interfaces and a build step that generate JPA classes from interfaces, so repositories must accept interface domain types via a custom RepositoryBeanFactory and alternative domain types. Queries accept OData filters translated by ~700 lines of code to QueryDSL predicates (translate OData to QueryDSL predicates). Projections are generated at runtime (CGlib/ByteBuddy or client-side), JSON Schema drives form metadata, auth uses X-Nemesis-Token headers, and validation is unified to JSR-303 messages. Solr/Elasticsearch limitations remain (no highlights+facets, missing aggregated page).

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Who am I
  3. 2:52Requirements
  4. 5:28Extending Spring Data
  5. 10:06Auditing
  6. 11:37REST vs HTTP
  7. 15:28Navigation Menu
  8. 16:46Projection
  9. 17:48Course Filter
  10. 23:28Query DSL
  11. 28:37Projections
  12. 33:59JSON Schema
  13. 38:45Resource Processors
  14. 41:53Validation
~/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.