Learn Microservices Book: Spring Boot 2.4 Upgrade Guide
Step-by-step migration guide from Spring Boot 2.3 to Spring Boot 2.4 for the Learn Microservices with Spring Boot book's microservice architecture project
Un capítulo extra que muestra cómo actualizar el código fuente del libro desde Spring Boot 2.4 a 2.5.5 y Java 17
Complete 4-part guide series
Step-by-step migration guide from Spring Boot 2.3 to Spring Boot 2.4 for the Learn Microservices with Spring Boot book's microservice architecture project
An extra chapter showing how to update the book's source code from Spring Boot 2.4 to 2.5.5 and Java 17
The extra chapter for the book's source code update from Spring Boot 2.5 to 2.6 and from Spring Cloud 2020 to 2021.0
The extra chapter for the book's source code update from Spring Boot 2.6 to 2.7 with H2 database fixes and configuration improvements
Este capítulo describe cómo actualizar el código fuente del libro Learn Microservices with Spring Boot a Spring Boot 2.5.5 y Java 17. No hay cambios mayores pero algunas partes del código se rompen, así que necesitamos hacer algunos pequeños ajustes aquí y allá. También aprenderemos cómo usar la nueva interfaz RandomGenerator en las pruebas.
La última actualización de los repositorios del libro a Spring Boot 2.4 fue bastante extensa principalmente debido a la actualización a una nueva versión mayor de Spring Cloud (2020.0.0). Esta vez, el impacto en el código del libro es mucho menor.
Acerca de esta guía: Este es un enfoque práctico para migrar un proyecto de Spring Boot desde la versión 2.4 a la versión 2.5 y JDK 17. Utiliza la base de código del ejemplo práctico del libro Learn Microservices with Spring Boot, pero se aplica a otros proyectos también. Si quieres profundizar en cómo funciona Spring Boot y configurar una arquitectura de microservicios completa, consigue una copia ahora.
Tomaremos como línea base los últimos cambios para actualizar los proyectos a Spring Boot 2.4. El código está disponible en GitHub (mientras estás ahí, ¡dale una estrella!).
Código Fuente: El código fuente del libro con todas las actualizaciones está disponible en GitHub: U.2.5.5. Mientras estás ahí, ¡por favor dale una estrella!
Complete 4-part guide series
Step-by-step migration guide from Spring Boot 2.3 to Spring Boot 2.4 for the Learn Microservices with Spring Boot book's microservice architecture project
An extra chapter showing how to update the book's source code from Spring Boot 2.4 to 2.5.5 and Java 17
The extra chapter for the book's source code update from Spring Boot 2.5 to 2.6 and from Spring Cloud 2020 to 2021.0
The extra chapter for the book's source code update from Spring Boot 2.6 to 2.7 with H2 database fixes and configuration improvements
Join hundreds of software architects and engineers getting practical insights delivered to their inbox.