Extending Spring MVC with Spring Mobile and JavaScript
summary
Spring Mobile adds device detection to Spring MVC (Device injected into controllers, light resolver uses user‑agent keywords, extensible resolver) and remembers site preference via cookies; it can redirect between sites with configurable site switcher strategies (m., .mobi, URL path) and will treat tablet separately if configured. Client builds use Thorax + Lumbar: Node/npm required, run npm start / lumbar watch to produce per‑platform sites (shared modules + device overrides); demo serves a REST API from Spring/Neo4j and the multi‑site output to CloudFoundry — the end‑to‑end setup works.
AI-written summary · about
chapters (17)
- 0:00Introduction and speakers
- 1:05Evolution of web applications
- 8:49Spring Mobile overview
- 10:13Device detection in Spring Mobile
- 17:15Demo of device detection
- 19:04Site preference management
- 20:31Demo of site preference
- 23:40Site switcher in Spring Mobile
- 28:49Demo of site switching
- 37:58Extending with JavaScript libraries
- 39:26Introduction to Thorax and Lumbar
- 43:18Lumbar build tool explained
- 56:39Lumbar build file details
- 1:01:13Demo of Lumbar and Thorax
- 1:06:01Code walkthrough and integration
- 1:15:50Conclusion and resources
- 1:16:51Q&A session
related talks
23mPhil Webb at SpringOne Platform 2017
01h 20mCreating modular test driven SPAs with Spring and AngularJS
37mMobile Java Web Applications with MVC and OpenDDR
31mMobifying eCommerce: taking an internet business mobile
34mModern frontends using Spring Boot and Thymeleaf with htmx
47mHow to put the Mobile in the Mobile Web
42mLiving on the Edge (Service)
51mSpring Boot 2.0 Web Applications
