Engineering
Andy Wilkinson
November 27, 2012
It’s my pleasure to announce that we’ve released the first milestone of Spring Migration Analyzer (SMA), a command-line utility that analyzes enterprise Java applications and produces a report describing the application and how it can be migrated to Spring.
Why migrate an application to Spring?
We see two main reasons when people choose to use Spring. Firstly, Spring offers the greatest range of deployment options including cloud and PaaS, allowing you to deploy your application to lighter-weight runtimes with lower operating costs. Secondly, as Adrian recently explained Spring provides access to a host of technologies that are at the forefront of enterprise Java.
When it comes to considering the migration of an existing application to Spring, it’s typically the deployment flexibility that motivates the move as it can significantly reduce the application’s operating costs.
Using SMA to analyze an application
To get started with SMA, download the distribution. Once it’s downloaded, unzip it:
unzip spring-migration-analyzer-1.0.0.M1-dist.zip
With JAVA_HOME set, you can then run the migration-analysis script to analyze an application:
./spring-migration-analyzer-1.0.0.M1/bin/migration-analysis.sh ~/dev/apps/my-app.ear
This will produce an HTML report in a directory named my-app.ear in the current working directory. The report describes the application and offers guidance on migrating it to Spring.
In addition to the migration guidance, the report provides details of things like API usage, EJBs and deployment descriptors that need to be taken into consideration when migrating the application.
Learning more
To learn more about SMA, please refer to the user guide. You may also be interested in the project on GitHub. If you find a bug or have an improvement that you’d like to see, please let us know by opening an issue.
comments powered by Disqus
translate:
翻译:
我很高兴地宣布,我们发布了Spring Migration Analyzer(SMA)的第一个里程碑,它是一个命令行实用程序,可以分析企业Java应用程序并生成一个报告,描述应用程序以及如何将其迁移到Spring。
为什么要将应用程序迁移到Spring?
我们看到了人们选择使用弹簧的两个主要原因。首先,Spring提供了最大范围的部署选项,包括云和paa,允许您将应用程序部署到更轻的运行时,同时降低操作成本。其次,正如Adrian最近解释的那样,Spring提供了对处于企业Java前沿的一系列技术的访问。
在考虑将现有应用程序迁移到Spring时,通常是部署灵活性促使迁移,因为它可以显著降低应用程序的操作成本。
使用SMA分析应用程序