简体   繁体   English

如何计划从 WebSphere 迁移到更便宜的应用程序服务器,如 JBoss、Tomcat 或 Payara

[英]How to plan the migration from WebSphere to a cheaper application server like JBoss, Tomcat or Payara

I am planning to migrate a Java application from WebSphere to a different application server.我计划将 Java 应用程序从 WebSphere 迁移到不同的应用程序服务器。 The main motivation for this is to save licence fees.这样做的主要动机是为了节省许可费用。

I know that the source code uses EJB's and that they are not supported by Tomcat directly.我知道源代码使用 EJB,并且 Tomcat 不直接支持它们。 There are two major questions that I would like to ask (and they are interrelated, so I ask them in one question):我想问两个主要问题(它们是相互关联的,所以我在一个问题中问他们):

A) How can I identify which migration / re-programming tasks I have to plan? A) 我如何确定我必须计划哪些迁移/重新编程任务? From various sources I found that I probably should take the following steps.从各种来源,我发现我可能应该采取以下步骤。 My question is: What else should be on this list:我的问题是:此列表中还应该包含什么:

  1. If the code uses EJBs either replace them (eg using Spring) or use an application server that supports them (like JBoss or TomcatEE)如果代码使用 EJB,要么替换它们(例如使用 Spring),要么使用支持它们的应用服务器(如 JBoss 或 TomcatEE)
  2. Search the source code for imports starting with "com.ibm".在源代码中搜索以“com.ibm”开头的导入。
  3. I understood that I need to check to which extend Monitoring/Logging/Administration is currently done using WebSphere features.我知道我需要检查当前使用 WebSphere 功能完成了哪些扩展监控/日志记录/管理。 What I do not yet know is: How do I find all of this configuration?我还不知道的是:如何找到所有这些配置?

B) What is the best approach to get a reasonable estimation of the total effort? B) 合理估计总工作量的最佳方法是什么? I guess I can just start and try to do the migration to get a first idea.我想我可以开始并尝试进行迁移以获得第一个想法。 But what would be the major points to look into to get a feeling for the total effort?但是,要了解总体努力的主要要点是什么?

I found this guide: How to migrate from Websphere to Tomcat , which already provides some hints.我找到了这个指南: How to migrate from Websphere to Tomcat ,它已经提供了一些提示。 However, it does not really go much into detail in particular it does not mention how to find out which WebSphere specific features are used.然而,它并没有真正详细 go 特别是它没有提到如何找出使用了哪些 WebSphere 特定功能。

I also found this guide on [How to migrate to JBoss](How to migrate to JBoss: https://docs.jboss.org/author/display/AS72/How%20do%20I%20migrate%20my%20application%20from%20WebSphere%20to%20EAP%206.html ).我还在[How to migrate to JBoss]上找到了这个指南(How to migrate to JBoss: https://docs.jboss.org/author/display/AS72/How%20do%20I%20migrate%20my%20application%20from% 20WebSphere%20to%20EAP%206.html )。 This is much more detailed, but it feels like I have to do almost the entire migration in order to get an estimate.这要详细得多,但感觉我必须完成几乎整个迁移才能得到估计。

I did something similar in the past year and my "save money" "save time" was moving from websphere application server nd to websphere liberty or open liberty because liberty and websphere liberty share the same code base the biggest differece is the JVM runtime in terms of funciontality and configuration ( for example SSL provider for keystore ).我在过去一年做了类似的事情,我的“省钱”“节省时间”从 websphere application server nd 转移到 websphere liberty 或 open liberty,因为 liberty 和 websphere liberty 共享相同的代码库,最大的区别是 JVM 运行时功能和配置(例如 SSL 密钥库提供程序)。

To do that I kindly suggest to use this tool为此,我建议使用此工具

https://www.ibm.com/garage/method/practices/learn/ibm-transformation-advisor https://www.ibm.com/garage/method/practices/learn/ibm-transformation-advisor

I tried other way but they works only if there is a perfect indipendence of the EAR from the application server.我尝试了其他方法,但只有当 EAR 与应用程序服务器完全独立时它们才有效。

Full disclosure: I work for IBM on Liberty全面披露:我在 IBM 的 Liberty 工作

If you're looking to save license fees you could consider moving to Liberty (Open Liberty or WebSphere Liberty or Liberty Core).如果您希望节省许可费用,您可以考虑转向 Liberty(Open Liberty 或 WebSphere Liberty 或 Liberty Core)。 Aside from the fact they offer cheaper options than traditional WebSphere Application Server ND, they're also much more efficient and so you would need far fewer instances which saves on license costs and infrastructure costs.除了它们提供比传统 WebSphere Application Server ND 更便宜的选项之外,它们的效率也高得多,因此您需要的实例少得多,从而节省了许可成本和基础设施成本。

If you're using WebSphere ND you could also consider WebSphere Base to save license costs.如果您正在使用 WebSphere ND,您还可以考虑使用 WebSphere Base 来节省许可成本。

In testing we've done (and I'd recommend you do your own), we have found Liberty (using OpenJ9 JVM) to be far more efficient than the other runtimes we've tested (in terms of memory and throughput), including the ones you've listed.在我们已经完成的测试中(我建议您自己做),我们发现 Liberty(使用 OpenJ9 JVM)比我们测试过的其他运行时更高效(就 memory 和吞吐量而言),包括你列出的那些。 See https://openliberty.io/blog/2020/10/21/memory-footprint-throughput.html参见https://openliberty.io/blog/2020/10/21/memory-footprint-throughput.html

If you're using traditional WebSphere today, you're already entitled to use Liberty.如果您现在使用传统的 WebSphere,那么您已经有权使用 Liberty。

To understand what your applications are using and what you might need to change to move, you can use Transformation Advisor - http://ibm.biz/cloudta要了解您的应用程序正在使用什么以及您可能需要更改哪些内容才能移动,您可以使用 Transformation Advisor - http://ibm.biz/cloudta

Maybe you should take a look at Red Hat Application Migration Toolkit也许您应该看看Red Hat Application Migration Toolkit

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

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