Google App Engine<br />N. Koprowski, W. Sanchez, K. Thissen, M. Tryniecki, <br />A. Klos<br />The slides are licensed unde...
Cloud Computing<br />Resources and software on demand<br />Providers offer APIs<br />Platform as a service<br />Software a...
Google App Engine – Idea/Concept<br />Developing & hosting web applications<br />Run web applications on Google's Cloud in...
General Features<br />Automatic scaling and load balancing<br />Malfunction detection & Backup<br />Managing of cache and ...
Programming Features<br />Supports Java and Python<br />APIs for additional features<br />Sandbox environment<br />Each en...
General Restrictions<br />Datastore: Limitation of inequality filters<br />Answer a request in 30 seconds<br />No saving o...
ProgrammingRestrictions<br />Typical restrictions of a sandbox<br />Java: only subset of classes from standard JRE<br />Ja...
Java/Python differences in GAE<br />Java:<br />Big set of advancedlibrariesavailable<br />Datastore: Standard method is to...
Google Datastore<br />Distributed data storage service<br />SQL-like syntax (no JOINS)<br />Communication over a provided ...
IDEs - Eclipse<br />PluginavailableforEclipse:<br />Create emptyappengineprojects<br />Test applicationswithlocalsandbox<b...
ProgrammingExample<br />Create Google Account<br />Download and install Google PluginforEclipse<br />Creating a new Google...
Comparison – Amazon Web Services<br />Amazon:<br /><ul><li>Infrastructure as a Service
Wide supportforlanguages and databases
Deploymentismoreakin to usingsingleservers</li></ul>Web Technologies<br />12<br />Google:<br /><ul><li>Platformas a Service
Upcoming SlideShare
Loading in …5
×

Webtech googleapps

405 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
405
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Webtech googleapps

  1. 1. Google App Engine<br />N. Koprowski, W. Sanchez, K. Thissen, M. Tryniecki, <br />A. Klos<br />The slides are licensed under aCreative Commons Attribution 3.0 License<br />Web Technologies – Prof. Dr. Ulrik Schroeder – WS 2010/11<br />1<br />
  2. 2. Cloud Computing<br />Resources and software on demand<br />Providers offer APIs<br />Platform as a service<br />Software as a Service<br />Infrastructure as a service<br />Web Technologies<br />2<br />
  3. 3. Google App Engine – Idea/Concept<br />Developing & hosting web applications<br />Run web applications on Google's Cloud infrastructure<br />Free up to a certain quota of used resources<br />Metered bandwidth/CPU time/storage use<br />Web Technologies<br />3<br />
  4. 4. General Features<br />Automatic scaling and load balancing<br />Malfunction detection & Backup<br />Managing of cache and databases<br />SDK forlocaldevelopmentandtesting<br />Persistent data storage<br />Web Technologies<br />4<br />
  5. 5. Programming Features<br />Supports Java and Python<br />APIs for additional features<br />Sandbox environment<br />Each environment provides standard protocols and common technologies, but there are restrictions<br />Web Technologies<br />5<br />
  6. 6. General Restrictions<br />Datastore: Limitation of inequality filters<br />Answer a request in 30 seconds<br />No saving of environment between requests<br />Filesystem: read-only access<br />Code execution only via HTTP request<br />SSL/HTTPS: only via *.appspot.com domains<br />Web Technologies<br />6<br />
  7. 7. ProgrammingRestrictions<br />Typical restrictions of a sandbox<br />Java: only subset of classes from standard JRE<br />Java applications cannot create new threads<br />Python modules: only pure Python<br /> (no C)<br />Web Technologies<br />7<br />
  8. 8. Java/Python differences in GAE<br />Java:<br />Big set of advancedlibrariesavailable<br />Datastore: Standard method is to use JDO or JPA<br />Flexibility: The possibility of running JVM bytecode made by different languages<br />Python:<br />Lacks third-party libraries<br />Specific API for Google Datastore<br />More support and extensive knowledge base available<br />Web Technologies<br />8<br />
  9. 9. Google Datastore<br />Distributed data storage service<br />SQL-like syntax (no JOINS)<br />Communication over a provided API<br />No traditional relational database<br />Datastore entities are schemaless<br />Web Technologies<br />9<br />
  10. 10. IDEs - Eclipse<br />PluginavailableforEclipse:<br />Create emptyappengineprojects<br />Test applicationswithlocalsandbox<br />Deployment<br />Compatiblewith Google Web Toolkit<br /> As-you-type validation<br />Antis not needed<br />Web Technologies<br />10<br />
  11. 11. ProgrammingExample<br />Create Google Account<br />Download and install Google PluginforEclipse<br />Creating a new Google Project<br />Testingthe Project<br />Test run on localserver<br />Modifyingthe Project<br />Working withthe Datastore<br />Deployingthe Project<br />Creating theApplication ID<br />Deploying on Appengine<br />Web Technologies<br />11<br />
  12. 12. Comparison – Amazon Web Services<br />Amazon:<br /><ul><li>Infrastructure as a Service
  13. 13. Wide supportforlanguages and databases
  14. 14. Deploymentismoreakin to usingsingleservers</li></ul>Web Technologies<br />12<br />Google:<br /><ul><li>Platformas a Service
  15. 15. Onlysupports a limited rangeoflanguages, APIs, frameworks
  16. 16. Simpledeployment</li></li></ul><li>Comparison – Amazon Web Services<br />Amazon:<br /><ul><li>Supports relational databases
  17. 17. Higher hostingcosts</li></ul>-> Flexible, but highercosts<br />Web Technologies<br />13<br />Google:<br /><ul><li>No relational database
  18. 18. Lowerhostingcostsand a freequota
  19. 19. Easier to writescalableapplications</li></ul>-> Low costsand easy touse, but limited<br />
  20. 20. Literature<br />http://code.google.com/appengine/ is the Google App Engine official website<br />Google provides extensive articles, tutorials, videos and documentation both for Python and Java with and without the use of the Eclipse IDE which can be found on<br />http://code.google.com/appengine/articles/<br />http://code.google.com/appengine/docs/ <br />http://code.google.com/appengine/community.html<br />http://www.youtube.com/user/GoogleDevelopers<br />Web Technologies<br />14<br />

×