Migration Toolkit for Application Source 概觀

IBM® WebSphere® Application Server Migration Toolkit 提供一組豐富的工具,可協助您將應用程式從協力廠商應用程式伺服器,在 WebSphere Application Server版本之間,移轉至 WebSphere Application Server Liberty,以及移轉至雲端平台,例如 IBM Cloud上的 Liberty for Java 。

所有的 Eclipse 型原始碼掃描工具都結合到一個更新網站,讓您可以很容易地安裝您需要的個別工具。

  • 雲端移轉工具
  • WebSphere 版本間應用程式移轉工具
  • Apache Tomcat 至 Liberty 配置移轉工具
  • Apache Tomcat 至 WebSphere 應用程式移轉工具
  • JBoss 至 WebSphere 應用程式移轉工具
  • Oracle 至 WebSphere 應用程式移轉工具
  • WebLogic 至 WebSphere 應用程式移轉工具

本文件說明如何在開發人員環境內安裝、配置及使用移轉工具。

應用程式移轉工具是以 IBM Rational® Software Analyzer為基礎,它提供單一解決方案來識別、分析及最佳化應用程式性能。 這些工具使用 Rational Software Analyzer 的掃描功能,來尋找要移轉之特定應用程式專屬的特定建構。 接著這些工具會提供複查及變更該資料的方法,以便應用程式可以在 WebSphere Application Server 上執行。

雲端移轉工具

如果您要將應用程式移至雲端平台,「雲端移轉工具」會提供其他建議及最佳作法,以確保應用程式能夠在那些環境中正確執行。

您可以搭配版本間工具和協力廠商工具一起使用本工具來協助您將應用程式從 WebSphere Application Server Traditional 或 Liberty、Apache Tomcat Server、JBoss Application Server、Oracle Application Server 或 Oracle WebLogic Server 移至雲端執行時期環境,例如 IBM Cloud Runtimes (Cloud Foundry PaaS)、IBM Cloud Kubernetes Service (Docker)、虛擬機器 (IBM Cloud),以及執行於協力廠商 PaaS 執行時期環境上的 Liberty。

WebSphere 版本間應用程式移轉工具

WebSphere Version to Version Application Migration Tool 協助將應用程式原始碼從舊版 WebSphere Application Server 移轉至 WebSphere Application Server 8.5.5 版及 9.0 版。 它還會協助您快速而輕鬆地評估 WebSphere Application Server Traditional 應用程式,讓它們可以在雲端和內部部署環境中隨時在 Liberty 或 Liberty Core 上執行。 如需如何產生此報告的相關資訊,請參閱 Migration Toolkit for Application Source 中的應用程式技術評估報告

WebSphere Application Server 各版本之間的整體應用程式移轉處理程序包含一系列的步驟:

  1. 評量移轉作業
  2. 規劃移轉的所需工作
  3. 移轉和開發應用程式碼
  4. 移轉執行時期配置
  5. 以新的伺服器配置來測試應用程式
  6. 將新的伺服器放入正式環境

該工具會分析您的應用程式原始碼,並強調顯示 WebSphere Application Server Traditional 版本之間以及 Traditional 伺服器與 Liberty 伺服器之間的 Java Platform, Enterprise Edition (Java EE) 程式設計模型和 WebSphere API 差異。 根據此分析,該工具可提供建議和可能的解決方案,來評量移動應用程式的容易程度。 如果有 Java EE 規格實作差異會影響應用程式,它也會通知您。

在 WebSphere Application Server 版本之間移動時,有一些問題會影響程式碼移轉和開發作業。 這些問題包括:

  • 在 Java SE 5、6、7 和 8 中發現 Java™ 執行時期環境 (JRE) 的變更
  • 移除先前已淘汰的特性
  • 產品 API 中的行為變更
  • 因為 Java EE 規格釐清而產生的變更
  • 淘汰的特性
  • WebSphere API 在 Liberty 上無法使用
  • 選用的 Java EE 技術在 Liberty 上無法使用
  • 技術實作的差異
  • Java EE 7 差異

工具支援從下列版本進行移轉:

  • WebSphere Application Server V5.1
  • WebSphere Application Server V6.0
  • WebSphere Application Server V6.1
  • WebSphere Application Server V7.0
  • WebSphere Application Server V8.0
  • WebSphere Application Server Traditional 8.5.5 版
  • WebSphere Application Server Traditional 9.0 版
  • WebSphere Application Server Liberty
  • WebSphere Application Server Liberty Core
工具支援移轉至下列版本:
  • WebSphere Application Server Traditional 8.5.5 版
  • WebSphere Application Server Traditional 9.0 版
  • WebSphere Application Server Liberty
  • WebSphere Application Server Liberty Core

協力廠商應用程式移轉工具

應用程式移轉工具會標示 Oracle WebLogic Server、JBoss Application Server、Oracle Application Server 或 Apache Tomcat 及 WebSphere Application Server 上所管理的應用程式之間的已知差異。 在許多情況下,這些工具可以自動地轉換不同的組件,以與 WebSphere Application Server 相容。 如果工具無法修正差異,則有問題的檔案會加以標示,以識別需要變更設計的位置。 這些工具支援:

  • 將應用程式移轉至 WebSphere Application Server 8.5.5 版或 9.0 版
  • 移轉 WebLogic 伺服器 Java、JSP 及類別路徑構件(Java EE 5 和舊版本)
  • 移轉 WebLogic 伺服器部署描述子(Java EE 5 和舊版本)
  • 移轉 JBoss Application Server Java 及類別路徑構件(Java EE 5 和舊版本)
  • 移轉 JBoss Application Server 部署描述子(Java EE 5 和舊版本)
  • 移轉 Oracle Application Server Java 及 JSP 構件(Java EE 5 和舊版本)
  • 移轉 Oracle Application Server 部署描述子(Java EE 5 和舊版本)
  • 移轉 Apache Tomcat Java 及 JSP 構件(Java EE 5 和舊版本)
  • 移轉應用程式內含的 Apache Tomcat 環境定義 XML 資訊
  • 從 Apache Tomcat 6.0 或 7.0 移轉
  • 從 Java SE 1.4、5、6、7、8 或 11 移轉至 Java 6、7、8、11 或 12。

Tomcat 配置移轉工具

「配置移轉工具」會自動移轉部分配置,以協助您將伺服器和應用程式配置移至 WebSphere Application Server Liberty 。 該工具支援:

  • 從 Apache Tomcat 6.0 或 7.0 移轉
  • 移轉至 Liberty
  • 移轉包含在伺服器中的 Apache Tomcat 環境定義、伺服器及 Web XML 資訊
  • 移轉包含在應用程式中的 Apache Tomcat 環境定義及 Web XML 資訊

應用程式二進位檔的移轉工具箱

使用 Migration Toolkit for Application Binaries,您可以使用應用程式保存檔及類別檔,從指令行產生移轉報告及配置,而不需要原始碼。 此工具會強調顯示 WebSphere Traditional 6.1 版與 9.0 版之間以及 WebSphere Traditional 伺服器與 Liberty 伺服器之間的 Java SE 差異、已淘汰特性、已移除特性、Java EE 程式設計模型差異及 WebSphere API 差異。 它還支援雲端移轉情境,並且包含模組型雲端連線摘要。

二進位掃描工具支援從下列版本進行移轉:

  • WebSphere Application Server V6.1
  • WebSphere Application Server V7.0
  • WebSphere Application Server V8.0
  • WebSphere Application Server Traditional 8.5.5 版
  • WebSphere Application Server Traditional 9.0 版
  • WebSphere Application Server Liberty
  • WebSphere Application Server Liberty Core
它支援移轉至下列版本:
  • WebSphere Application Server Traditional 8.5.5 版
  • WebSphere Application Server Traditional 9.0 版
  • WebSphere Application Server Liberty
  • WebSphere Application Server Liberty Core
  • Open Liberty

下載 Migration Toolkit for Application Binaries

Transformation Advisor

可用於掃描 WebSphere、WebLogic、JBoss 及 Apache Tomcat 部署,以評量所有應用程式並提供詳細資訊,包括現代化應用程式所需的工作。

建議使用 IBM Cloud Transformation Advisor 來產生應用程式資產的完整視圖,因為它包括更綜合性的應用程式及配置分析,提供重要規劃資訊,並為雲端環境產生自訂資產及建議。

額外資源

WebSphere 移轉知識集合:移轉至 Liberty Web 頁面提供所有工具、視訊及資源鏈結的概觀。

WebSphere 移轉知識集合:入門網頁提供 WebSphere Application Server 移轉所有方面的資訊。

如需 WebSphere Application Server 移轉主題的綜合性資訊,包括使用移轉工具箱的範例,請參閱 WebSphere Application Server V8.5 移轉手冊