



You can also run the same app locally by right clicking on project in Eclipse and choosing “Run as → Web Application”. Once you deploy, your application is be ready to serve at APP_ – So we’ve deployed our first GAE app to the cloud. The app-name should be the one you chose when you created your application using “Create Application” at As you can see, we are deploying the application to “app-name”. This isn’t required in subsequent deploys, unless you want to change the version to which app is deployed. Next, you will have to configure the “App name” which you created earlier by clicking on “App Engine project settings”. If you aren’t signed into Google, in Eclipse, it will ask for your credentials, and you can choose the same ID that we used to create our app earlier. Alternatively, right click on project and in “Google” choose to “Deploy to App Engine”. With the same menu that we used to create the app, choose “Deploy to App Engine”. Now that your sample app is created locally, let’s deploy that to Google’s infrastructure. In my case, the Eclipse plugin directory has the required SDK bundle, as seen in screen below In case you have issues with the GAE SDK not being found, you can click on “Configure SDKs” next to “Use Google App Engine” and point to directory where the SDK is placed. Also, enable “Generate sample code” so that you can use a sample project to begin with. Make sure you uncheck “Use Google Web Toolkit” option before you proceed (Google Web Toolkit – GWT is an exciting new way of writing super clean and responsive web pages in Java, the GWT compiler turns Java into HTML & JavaScript). In the new window that comes up, choose a name and base package name for your project. If you have installed the Eclipse plugin correctly, you should see Google icon like below in Eclipse, click on “New web application project.” This can also be done through the menu, File → New → Web application project. High replication datastore would be ideal for scenarios where the data backup has to be immediate and consistency guarantee has to be higher. Login to with your credentials and “Create Application”. In the following screen, fill in the app name and description, also choose “Master/Slave” by editing Storage options.
#DOWNLOAD GOOGLE APP ENGINE SDK FOR JAVA CODE#
I will also provide links to demo and source code where applicable.īefore we get started on subject that we are interested in, let’s create the application we are going to work with. The approach we’re going to follow is learning about APIs with sample code. There were some unavoidable delays, but now we will start and zoom into GAE! So let’s get our hand dirty with some code :) In a long break between posts, I hope you have setup your Eclipse environment and are excited to start learning about GAE APIs.
