Where to host a Restful web service in JAVA in co-hosting solutions

I just finished developing a REST web service that is consumed by a mobile application. The web service is developed using Java and runs on the Apache server.

Now I'm going to the test part. And for this I need to host my web service on a real server. This is the first experience, and I just knew that using mutual (shared) hosting does not allow me to host any application in any language.

I use OVH which does not support Java web service hosting.

Does anyone have any other alternative. It will help a lot!

+6
source share
2 answers

As I said, if it is intended for testing, you can always use a "normal" PC, starting something like XAMPP .

Alternatively, you can give RedHat OpenShift a try, which offers a free, initial plan (more info here ) that should more than cover your testing requirements.

+2
source

To run the application (in Eclipse), you need: Run As -> Run on Server Then select the server. If you have not done so; I suggest you install a local JBoss / WildFly server (the wizard can take care of this for you). This will display the launch options for your application on either the local or the OpenShift / rhcloud server. This speeds up testing and avoids testing on a real OpenShift server.

+1
source

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


All Articles