I finished to build my semester project and now I need to show it to the lecturer.
This project is a MVC server ..
It contains Java Servlet (Contoller), JSP for the views.
I'm using Hibernate 3.6.4 for the Model (DAO) layer and MySQL for the database.
And of course Tomcat server 7.
Is there a free hosting service where I can host my project?
Try Openshift. https://www.openshift.com With 3 free gears you can setup Tomcat/JBoss and MySQL. It can be integrated with Eclipse and hot deployments are possible (via git). Also, to MySQL, you can add PhpMyAdmin controller.
Amazon Web Services has a free usage tier that you can use without charge for 12 months. You could use an EC2 micro instance to host Tomcat and an RDS instance for MySQL. Alternatively you could install MySQL in the same EC2 instance as Tomcat.
Check cloudbees.com. It allows you to deploy you WAR files for free. Just make sure you compile your project with the same java version as they(1.6 not sure about it).
来源:https://stackoverflow.com/questions/20734616/free-java-servlet-hosting