#NoXML: Eliminating XML in Your Spring Projects
summary
Shows how to replace ~26 Spring XML files and a 1,992-line XML footprint by rewriting bean definitions as JavaConfig and annotations, removing no web.xml with a WebApplicationInitializer, switching Spring Security XML to Java config, and migrating to Spring Boot (H2 + Spring Data JPA, Hibernate) and to generators like JHipster. The demo converts an AppFuse app, pushes commits to GitHub, and reports earlier full test success at 3:45am though a few tests fail during the live demo; generation produces ~4,000 Java lines vs ~271 XML in JHipster.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker background
- 2:15Why eliminate XML in Spring
- 10:26Spring framework evolution and XML reliance
- 18:50Spring Boot and JHipster for no XML
- 21:38Demo: AppFuse legacy XML project
- 31:21Comparing AppFuse and JHipster XML usage
- 32:24Demo: Generating JHipster app
- 40:59Live demo: Converting XML to Java config
- 1:04:41Removing web.xml and migrating to Spring MVC Java config
- 1:13:31Migrating to Spring Boot
- 1:20:49Converting Maven to Gradle or Polyglot Maven
- 1:24:07Summary and Q&A








