迁移为 IBM WebSphere Application Server Community Edition 编写的应用程序,并使该应用程序像在 IBM WebSphere Application Server V6.1 上运行的那样需要一系列步骤,其中一些步骤是自动的,还有一些步骤是手动的。IBM 的新增 Migration Assistant for WebSphere Application Server Community Edition 工具是为执行自动化步骤和帮助减少所需的手动工作而创建的。本文将简要概述此新的迁移工具(在 alphaWorks 中提供),以帮助轻松地迁移到 WebSphere Application Server。
本文并不探索在使用该工具时可能遇到的任何具体问题,但是本文将提供一些总体指南,以帮助您使用和解释所得到的结果。
截至到撰写本文时为止,Migration Assistant for WebSphere Application Server Community Edition(以下称为 Migration Assistant)支持将开发的应用程序迁移到 WebSphere Application Server Community Edition V2.0.x 的 J2EE 1.4 规范。迁移应用程序目前支持的目标环境是 WebSphere Application Server V6.1(未安装任何功能包)。在本文中,对 WebSphere Application Server 的所有参考特别适合于版本 6.1.x。
![]() ![]() |
![]()
|
Migration Assistant 可通过以下方法简化应用程序从 WebSphere Application Server Community Edition(以下称为 Community Edition)到 WebSphere Application Server 的迁移:
- 生成应用程序的标准和特定于 Geronimo 的部署描述符的 WebSphere Application Server 等效项。
- 基于标准的内容和特定于 Geronimo 的部署描述符生成准确指定需要执行哪些其他工作(对未迁移的内容)才能完成迁移的动态输出。
下面从较高层次概述了使用 Migration Assistant 执行迁移时涉及的步骤:
- 运行 Migration Assistant 命令行实用工具(
wasma.bat
或wasma.sh
),并作为输入传入应用程序和任何外部引用的、特定于 Geronimo 的部署计划。此操作的结果是创建以下两项可交付内容:
本文转自IBM Developerworks中国