How to deploy web application for cPanel with .war file?

I made my web application and I would like to put it on the Internet. I heard that a user can deploy a web application to cPanel using a .war file. I was looking for this, any tutorial or any information on how to do this. But there isn’t what really tells you how to do this, you will only find tutorials on how to deploy to Tomcat or Glassfish. Did I miss something? How can I put my web application on the Internet after its packed .war file? If I want to deploy my web application to my web hosting account, is this possible? If so, how to do it, and do I need to create a database in cPanel or is it (the database) included in the .war file, if I already created them?

I have a lot of confusion on my head. All help is really appreciated.

+4
source share
1 answer

I found a solution for this. There Java web hosting and web hosting. The big difference between these web hosting services is that Java Web Hosting supports web applications created using virtual servers such as Tomcat and GlassFish, among others.

Therefore, anyone looking to deploy a web application built using Java or JavaEE technology should look for Java web hosting instead of web hosting. You can find more information about Java web hosting providers.

For example, eApps is one of the providers of Java web hosting.

+4
source

Source: https://habr.com/ru/post/1488887/


All Articles