~/talk

MVC 1.0 - by Example

Talkat JavaDay Minsk 2016 · on Saturday, 2016-06-11· [web-platform, java]
slides:none on file

Action-based MVC 1.0 (JSR 371) is a small API built on JAX-RS that reuses CDI, Bean Validation and view engines (JSP/JSF, Thymeleaf, etc.), adds a Models map and BindingResult for per-field validation, and introduces a redirect scope (flash) to implement POST‑Redirect‑GET. The Ozark runtime is the Ozark reference implementation tied to Jersey for demos, provides @Controller/@View annotations, CSRF support via @CSRFValid, CDI events for before/after controller and view, and the generated NetBeans CRUD app runs and demonstrates it end-to-end.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:04Why MVC 1.0 now
  3. 3:53Action vs component-based MVC
  4. 6:46Spring MVC vs Struts 2 adoption
  5. 8:13Building MVC 1.0 on JAX-RS
  6. 8:57Creating a simple controller
  7. 10:24Returning views from controllers
  8. 12:54View handling options
  9. 14:41Model handling with CDI and Models
  10. 16:52Bean validation support
  11. 19:01Binding result for validation
  12. 20:27Custom view engine support
  13. 22:15CDI events in MVC
  14. 23:21Security and CSRF protection
  15. 25:59Redirect scope for PRG pattern
  16. 28:27Live demo setup
  17. 29:11Minimal MVC 1.0 project setup
  18. 31:16Simple hello world example
  19. 33:28CDI-scoped model example
  20. 34:51Post-redirect-get pattern demo
  21. 36:24Form validation and error handling
  22. 38:09Implementing PRG with redirect scope
  23. 40:16Adding CSRF protection
  24. 41:44NetBeans MVC tooling support
  25. 42:50Code generation with NetBeans plugin
  26. 45:21Tooling and resources summary
  27. 46:03Key takeaways and conclusion
  28. 47:49Q&A and closing
~/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.