简体   繁体   English

替换自由上的 websphere jar 文件

[英]Replacement for websphere jar file on liberty

I am trying to migrate j2ee app deployed on Websphere 8.5 to Websphere liberty.我正在尝试将部署在 Websphere 8.5 上的 j2ee 应用程序迁移到 Websphere Freedom。

The code is using ant scripts (xml files) and references "j2ee.jar" lib file from websphere for building the code.该代码使用 ant 脚本(xml 文件)并引用来自 websphere 的“j2ee.jar”lib 文件来构建代码。 Also references "plugins/com.ibm.ws.runtime.jar"还引用了“plugins/com.ibm.ws.runtime.jar”

Which are the replacement jar files that can be used when building the code for liberty?自由构建代码时可以使用哪些替换jar文件?

First of all I'd recommend you to scan your application with migration tools like Migration_Toolkit_for_Application_Binaries if you just have ear/war files, or WebSphere_Application_Server_Migration_Toolkit , which is a free plugin to Eclipse (if you are using Eclipse).首先,我建议您使用迁移工具扫描您的应用程序,例如Migration_Toolkit_for_Application_Binaries如果您只有 ear/war 文件,或者WebSphere_Application_Server_Migration_Toolkit ,它是 Eclipse 的免费插件(如果您使用的是 Eclipse)。 They will show you if you are using any WebSphere APIs that are not available in Liberty.如果您使用的是 Liberty 中不可用的任何 WebSphere API,它们将显示您。

If all is good and you just need jars with API classes, they are in wlp\\dev\\api\\spec folder in your WebSphere Liberty installation.如果一切正常并且您只需要带有 API 类的 jar,它们就位于 WebSphere Liberty 安装的wlp\\dev\\api\\spec文件夹中。

Also consider switching from ant to maven build, as there are dependency targets already for Liberty also.还可以考虑从 ant 切换到 maven build,因为 Liberty 也已经有了依赖目标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM