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.