spring-mvc-to-boot-migrator
Installation
SKILL.md
Spring MVC → Boot Migrator
Spring Boot is Spring MVC with conventions, embedded server, and auto-configuration. The migration isn't a rewrite — it's deleting XML and letting Boot infer it.
What changes and what doesn't
| Concern | Spring MVC (classic) | Spring Boot | Migration effort |
|---|---|---|---|
@Controller classes |
@Controller, @RequestMapping |
Same — unchanged | Zero |
@Service, @Repository |
Same annotations | Same — unchanged | Zero |
| Bean wiring (XML) | <bean id=... class=...> |
@Configuration + @Bean, or just @Component |
High — this is the work |
| DispatcherServlet setup | web.xml |
Auto-configured — delete it | Delete |
| Server | Deploy WAR to Tomcat | Embedded Tomcat — java -jar |
pom.xml change |
| Properties | Multiple .properties via <context:property-placeholder> |
application.yml with profiles |
Consolidate |
| View resolver | <bean class="InternalResourceViewResolver"> |
spring.mvc.view.prefix=... property |
One-liner |
| Static resources | <mvc:resources mapping=...> |
/static, /public auto-served |
Move files |