Migrating to Spring 4 from Spring 3 - What you need to know
summary
Shows a practical, incremental path from Spring 3 to Spring 4.1: update to 4.1, switch XML root contexts to Java config, and run integration/functional tests. Demonstrates adding Spring WebSocket + Spring Messaging, enabling enable WebSocket message broker, registering a SockJS endpoint and using SockJS + STOMP on the browser to push inventory changes to product pages; the demo updates quantities and toggles the Buy/Out‑of‑Stock buttons in real time. Notes: Jackson 1 → 2 package rename, Hibernate 4 recommended, Servlet 3 required for full MVC test and websocket support.
AI-written summary · about
chapters (19)
- 0:00Introduction and context
- 1:42Upgrade motivations
- 2:58Innovation and talent
- 5:13Technical debt and support
- 7:05New Spring 4 features
- 8:49Incremental migration strategy
- 10:01Broadleaf migration example
- 12:17Testing and migration guide
- 14:21Dependent libraries upgrade
- 18:11Spring Security and Thymeleaf
- 20:16Jackson 2 migration
- 23:59Spring 4 feature highlights
- 27:38Web XML to Java Config demo
- 30:53Servlet initializer demo
- 37:53Spring MVC configuration demo
- 45:55Websocket implementation
- 51:15Messaging workflow demo
- 53:44Frontend websocket demo
- 1:03:42Conclusion and Q&A
related talks
51mSpring Boot and Cloud for Legacy Applications
51mHitting the “refresh” button on your Spring web application
01h 22mModern Java Component Design with Spring Framework 4.2
53mSpring and Messaging: The next development generation
40mWhat’s New in Spring
48mHitting the “refresh” button on your Spring web application
46mUpgrade to Spring Boot 3? Spring Tools to the Rescue!
59mFrom Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
