How To Deploy Web Application To cPanel with .war file?

一曲冷凌霜 提交于 2019-12-23 12:22:35

问题


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.


回答1:


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.

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.

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



来源:https://stackoverflow.com/questions/17383625/how-to-deploy-web-application-to-cpanel-with-war-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!