I'm trying to create a webservice to be consumed by mobile apps. I started using Eclipse to create it but when I got to the point of publishing it on the server, I created a .war file and uploaded it through cpanel. Howeever, I read that most servers don't support java. I can't seem to access my webservice and at this point I'm wondering if it would be a better option to start from scratch. I'm very lost and I really need help.

Is there a way to export java webservices so it's easier to upload through cpanel and how do you publish it?

What is the best program/language to create webservices that can be uploaded through cpanel?