如何使用.war文件将Web应用程序部署到cPanel? [英] How To Deploy Web Application To cPanel with .war file?

查看:117
本文介绍了如何使用.war文件将Web应用程序部署到cPanel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经制作了Web应用程序,并且希望将其放入Internet。我听说用户可以使用.war文件在cPanel中部署Web应用程序。我一直在搜索有关此内容,任何类型的教程或有关如何执行此操作的信息。但是,没有什么可以真正告诉您如何进行操作,您只会找到有关如何在Tomcat或Glassfish上进行部署的教程。我在这里想念点吗?将其打包为.war文件后,如何将我的Web应用程序放到Internet上?如果我想将Web应用程序部署到Web托管帐户,可以吗?如果是,那我该怎么做,是否需要在cPanel中创建数据库,或者如果我已经创建了数据库,数据库是否包含在.war文件中?

I have made my web application and I would like to put it in internet. I have heard that a user can deploy a web application in cPanel by using .war file. I have been searching about this, any kind of tutorial or any information on how to do it. But there's none that actually tells you how to do it, you will find only tutorials on how to deploy on Tomcat or Glassfish. Am I missing some point here? How I can put my web application to internet once its packed as .war file? If I want to deploy my web application to my web hosting account, is it possible? If yes, then how do I do it and do I need to create a database in cPanel or is it (database) included in the .war file if I have created them already?

关于这个问题,我脑海中充满了困惑。

I have big confusion cloud on my head about this issue. All help is really appreciated.

推荐答案

我找到了解决方案。有Java网络托管和网络托管。这些Web托管之间的最大区别是Java Web Hosting支持使用Tomcat和GlassFish等虚拟服务器以及其他服务器制作的Web应用程序。

I found solution for this. There's Java Web Hosting and Web Hosting. The big difference between those web hosting is that Java Web Hosting support web applications made with virtual servers like Tomcat and GlassFish and others as well.

所以任何正在寻求部署的人使用Java或JavaEE技术制成的Web应用程序中的Internet应用程序应该使用Java Web托管而不是Web托管。您可以通过Google查找有关Java网络托管服务提供商的更多信息。

So anyone who is looking for deployment of web application that is made with Java or JavaEE technologies to internet should be looking Java web hosting instead of web hosting. You can Google to find more information about Java web hosting providers.

例如, eApps 是提供Java虚拟主机的提供商。

As for example eApps is one provider that provides Java web hosting.

这篇关于如何使用.war文件将Web应用程序部署到cPanel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆