简体   繁体   English

从tomcat迁移到Websphere

[英]Migrating from tomcat to websphere

At the moment, I'm developing a java web application locally(localhost) on Windows, using Tomcat 8.5 . 目前,我正在使用Tomcat 8.5在Windows本地(本地主机)上开发Java Web应用程序。

Unofortunately, I have no developing enviroment, so I have to do everything locally and then deploy to production via .WAR . 不幸的是,我没有开发环境,因此我必须在本地进行所有操作,然后通过.WAR部署到生产环境。

The issue is that the production application server (Linux RedHat) is running on websphere, if I generate the .WAR on tomcat, Will I have any problems to run it on WebSphere? 问题是生产应用程序服务器(Linux RedHat)正在websphere上运行,如果我在tomcat上生成.WAR,那么在WebSphere上运行它是否会有任何问题? Should I change anything in my code or web xml? 我应该更改代码或Web xml中的任何内容吗?

My system does nothing fancy, no hibernate, no spring, just a very classic mvc web application. 我的系统没有花哨,没有休眠,没有春天,只是一个非常经典的mvc Web应用程序。

Thanks in advance 提前致谢

In general you shouldn't have to make any changes, but there are some differences between the two environments that could cause issues. 通常,您不必进行任何更改,但是两种环境之间可能会引起问题,但存在一些差异。

IBM provides a tool that will analyze your application and suggest changes that may need to be made. IBM提供了一种工具,该工具将分析您的应用程序并建议可能需要进行的更改。 You can find more information here: https://www.ibm.com/developerworks/library/mw-1701-was-migration/index.html 您可以在这里找到更多信息: https : //www.ibm.com/developerworks/library/mw-1701-was-migration/index.html

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

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