Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

my issue is that I've been developing a Java Web app in Netbeans 7.2, which I've used Hibernate and JSF Facelets to communicate and show the data from a MySQL database deployed in my local server (localhost).

But now, I want to deploy both (my java web app and mysql database) in the cloud in a web server, or something but I don't know even how to start this. I've seen something about Google App Engine, but I didn't get the idea, and many others...

I just need to deploy my app to give access to other people to use my web app.

share|improve this question
    
What web container is your web app running in: Glassfish? Tomcat? –  Philipp Reichart Jun 12 '13 at 16:35
    
The web app is running on Tomcat. I just want to let my workmates access to that web app and make queries there. –  Joe Lewis Jun 12 '13 at 16:38

1 Answer 1

Google Appengine is a Framework. its not webserver where you can deploy your app as on your local machine.

what you are looking for is Amazon EC2

Google ComputeEngine

OpenShift

and others...... (to many to list them all)

most of them are not free. some like openshift are if you dont need much resources.

there you can install the server you need, (its just like a remote server) and deploy your app to.

share|improve this answer
    
I don't know how to do it... U_U I'm working with Netbeans + Hibernate + JSF and Openshift for example works with Eclipse and etc. Moreover I need to upload a mysql database connected with my web app through hibernate.... –  Joe Lewis Jun 12 '13 at 15:24
2  
Actually, for the op basic neeeds GAE default hosting and Cloud SQL may fit the bill just fine... He can deploy his projects with a command line tool, no need for the extra burden of managing instances. –  Anthony Accioly Jun 12 '13 at 15:26
    
Good tutorials on setting up a a GAE Project with JSF support and setting up Hibernate with Cloud SQL. When you get it to run in your machine, just create an application in GAE, update appengine-web.xm with your application id, run appcfg update and you are done. –  Anthony Accioly Jun 12 '13 at 15:47
1  
GAE is much more a web server (think Tomcat or the web-part of Glassfish) than a framework. You can run a plain Java web app (no EJB, JMS) on GAE without using any GAE-specific code. I wouldn't recommend someone EC2 or GCE if he doesn't even understand GAE. –  Philipp Reichart Jun 12 '13 at 16:34
    
GAE is running a jetty yeah thats a point, but i assume when you are able to setup a tomcat / jboss (wich have tomcat as webcontainer) and mysql on your local machine, it should be possible todo on any other server. and before using GAE you schould really understand this. and then you need to start GAE, even you dont use GAE APIs, its different then tomcat, because of initial request, loading dependency and so on.... so i would recommend to checkout a "simple" provider, where deployement and setup is done with webinterface. learn it and go further, –  fmt.Println.MKO Jun 12 '13 at 17:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.