Originally released in March 2022, Spring Boot Migrator (SBM) was an experimental Spring project. By using SBM, developers can convert existing, non-Spring Boot applications utilising technologies such as JAX-RS, EJB, and JMS to Spring Boot or upgrade older Spring Boot applications to the latest version.
A general-purpose tool for source code and configuration refactoring, OpenRewrite is the basis of SBM. Using OpenRewrite Recipes, existing Kubernetes, Gradle, Maven, Java, and other files can be changed using OpenRewrite. For example, the recipes may be used to upgrade an existing Java application to a more recent version. Spring Boot migrations are specifically handled by SBM using OpenRewrite.
The command-line interface (CLI) of SBM can be started after downloading the latest version:
java -jar spring-boot-migrator.jar
The user is then presented with a prompt that is specific to SBM: migrator: >.
A list command displays the thirty recipes that are currently available, such as those that upgrade Spring Boot to a new version, convert XML Bean configuration to Java configuration, and migrate Java EE and Jakarta implementations to Spring Boot.
The Java Development Kit 20: What’s next?
In the next version of Java, features such as universal generics, primitive types, and virtual threads could be included…
Deep learning frameworks: TensorFlow, PyTorch, and JAX
There are three widely used frameworks for deep learning research and production today. As a result…