~/talk

#NoXML: Eliminating XML in Your Spring Projects

Talkat SpringOne2GX 2015 · 2015-09-14..09-17· [java, software-architecture]
slides:none on file

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

  1. 0:00Introduction and speaker background
  2. 2:15Why eliminate XML in Spring
  3. 10:26Spring framework evolution and XML reliance
  4. 18:50Spring Boot and JHipster for no XML
  5. 21:38Demo: AppFuse legacy XML project
  6. 31:21Comparing AppFuse and JHipster XML usage
  7. 32:24Demo: Generating JHipster app
  8. 40:59Live demo: Converting XML to Java config
  9. 1:04:41Removing web.xml and migrating to Spring MVC Java config
  10. 1:13:31Migrating to Spring Boot
  11. 1:20:49Converting Maven to Gradle or Polyglot Maven
  12. 1:24:07Summary and Q&A
~/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.