110 likes | 378 Views
Google App Engine. B. Ramamurthy Based on the material available at http://code.google.com/appengine/. Preparation I: Eclipse IDE. Install Eclipse Indigo, Hellios or JEE compatible one of your choice. Install GAE plug-in and SDK (details available in the GAE site)
E N D
Google App Engine B. Ramamurthy Based on the material available at http://code.google.com/appengine/
Preparation I: Eclipse IDE • Install Eclipse Indigo, Hellios or JEE compatible one of your choice. • Install GAE plug-in and SDK (details available in the GAE site) • Once the installation is completed make sure you restart • You should see the ‘g’ symbol in the topline menu. Click on it to find in the drop-down list, the Google app engine deploy tool
Preparation II: GAE account • Sign in to your GAE account. • Make when it request mobile telephone # you provide in this form: 1 716 645 3182 with no dashes etc. • Navigate to the admin console and create an application id: http://code.google.com/appengine/docs/adminconsole/ • This is a globally unique id: so if your requested app id is not available you may have to choose another one. • Update your appengine-web.xml’s application element (on the IDE) to your application id that you chose in the last step. • Deploy using GAE tool on the IDE. You will have to sign in. • Test it using • http://<yourAppId>.appspot.com/DeployedProjectName
Miscellaneous • You don’t have to use any IDE, you can use command line • You can use Java, Python or Go language • When using Java it uses Java Servlet Standard to interact with the web interface • In general, there is a config file/descriptor file for every tool involved: web.xml, appengine.xml etc. • How is GAE a cloud environment? • Is GAE SaaS, IaaS or PaaS?
GAE Features • Admin console • Billing enabler • Versions • For configuring an application see http://code.google.com/appengine/docs/java/config/appconfig.html • Go through the example “Getting started”
Data Store • GAE takes care of all of the distribution, replication and load balancing of data behind a simple API—and you get a powerful query engine and transactions as well. • Default data store: high replication datastore • App Engine includes support for two different API standards for the datastore: Java Data Objects (JDO) and Java Persistence API (JPA).
Google App Engine • This offers a one stop facility for design, development and deployment Java and Python-based applications in Java and Python. • Google offers the same reliability, availability and scalability at par with Google’s own applications • Comprehensive programming platform irrespective of the size (small or large) • Our Adobe Flash-based Evolutionary Biology tool was deployed on it. • This scenario is a serendipitous invaluable experience for us about the capability of the cloud. • We have developed some best practices to work on the cloud.
MemCache on GoogleAppEngine on 10/11/2010 Memcache partial unavailability