Deploy existing java web application to GAE

60 views
Skip to first unread message

Chakradhar Bandla

unread,
Sep 9, 2015, 4:00:23 AM9/9/15
to Google App Engine
Hi,
We have a Java web application developed locally without using any GAE components (GAE SDK etc.,).
We used  the following technologies: Java, Spring framework, MySQL Database, Hibernate ORM, Jersy REST library, Tomcat web server.

Our application is up & running fine on our local server.

Now my question is 
Q) If I deploy the existing WAR to Google App Engine will it start working right away 
OR 
Do I have to make extra changes to my code and deploy new WAR file in order to make it working on Google App Engine?

Thank you very much

Best Regards
Chakra

Joseph Mbugua

unread,
Sep 9, 2015, 4:16:59 AM9/9/15
to Google App Engine
If you TRY to deploy it as it is to GAE, it will definitely fail. You have to make changes using GAE components. You will have to make extra changes to your code to make it work. Given the technologies that you are already using and to ensure you make no changes to your code, i suggest you use google compute engine where you set up a VM then proceed to deploy your application.

Chakradhar Bandla

unread,
Sep 9, 2015, 4:56:57 AM9/9/15
to Google App Engine
Hi Joseph,
Thank you very much for the reply & advice.
Just for confirmation : "it is possible to deploy my existing WAR file as it is using Google Compute Engine". Is my understanding correct?
Thank you

Patrice (Cloud Platform Support)

unread,
Sep 9, 2015, 9:15:43 AM9/9/15
to Google App Engine
Hi Chakradhar,

You could indeed use GCE, or maybe use managedVMs (but that would still require some tweaking). Compute Engine would be an easier port. If you want to use App Engine, you will definitely need to completely rewrite using our SDK and infrastructure, as Joseph pointed out.

Cheers

Chakradhar Bandla

unread,
Sep 9, 2015, 7:32:42 PM9/9/15
to Google App Engine
Hi Patrice,
Thank you very much for the clarification.
Reply all
Reply to author
Forward
0 new messages