将.ear文件部署到tomcat [英] Deploying .ear file to tomcat
问题描述
我有一个.ear文件,其中包含多个war文件.
I have an .ear file which contains multiple war files.
我正在将应用程序移至tomcat. 一旦我打包了.ear中包含的所有单个war文件, 为了实现tomcat兼容性,将如何部署war文件?
I am moving the app to tomcat. Once I have packaged all of the individual war files contained in the .ear for tomcat compatability how will the war files be deployed ?
我是否只需要将所有单独的war文件部署到tomcat,它就应该正常工作",还是不那么简单?
Do I just need to deploy all of the individual war files to tomcat and it should "just work" or is it not as simple as this ?
更具体地说,websphere提供的与tomcat等效的胶水"将所有战争包装在一只耳朵中?
To be more specific what is the tomcat equivalent "glue" that websphere provides to package all the wars in one ear?
推荐答案
Tomcat不支持完整的EE堆栈,它仅是一个servlet容器. 您必须单独部署WAR.
Tomcat doesn't support the full EE stack, it's a servlet container only. You'll have to deploy the WARs separately.
这篇关于将.ear文件部署到tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!