developing java web applications using google apps rjug 2011

30
Developing Java Web Applications using Google Apps Engine

Upload: ted-husted

Post on 30-Nov-2014

1.816 views

Category:

Technology


1 download

DESCRIPTION

Introduced in April 2009, Google Apps Engine for Java has come a long way, and seems ready for primetime. Google Apps Engine is a Platform as a Service cloud platform. Anyone can create and launch a GAE application at no charge, though resource utilization fees kick in when a site near the one million hits a month mark. Vosao (www.vosao.org) is an open source content management system developed from the ground up on Google Apps Engine for Java over the last 18 months. Vosao CMS uses many familiar Java libraries, like Velocity templates, popular web libraries, like JQuery, and popular mashup partners, like Picasa and Disqus.

TRANSCRIPT

Page 1: Developing java Web Applications Using Google Apps RJUG 2011

Developing Java Web Applications using Google

Apps Engine

Page 2: Developing java Web Applications Using Google Apps RJUG 2011

Introduced in April 2009, Google Apps Engine for Java has come a long way, and seems ready for primetime.

Google Apps Engine is a Platform as a Service cloud platform. Anyone can create and launch a GAE application at no charge, though resource utilization fees kick in when a site near the one million hits a month mark.

Vosao (www.vosao.org) is an open source content management system developed from the ground up on Google Apps Engine for Java over the last 18 months. Vosao CMS uses many familiar Java libraries, like Velocity templates, popular web libraries, like JQuery, and popular mashup partners, like Picasa and Disqus.

Page 3: Developing java Web Applications Using Google Apps RJUG 2011

Platform as a Service

Cloud Computing Savings - Real or Imaginery?

Page 4: Developing java Web Applications Using Google Apps RJUG 2011

Multi-Tenancy (Not!)

Page 5: Developing java Web Applications Using Google Apps RJUG 2011

Pretty Much Free

Page 6: Developing java Web Applications Using Google Apps RJUG 2011

Java

Page 7: Developing java Web Applications Using Google Apps RJUG 2011

!= AWS

Page 8: Developing java Web Applications Using Google Apps RJUG 2011

BigTable

Page 9: Developing java Web Applications Using Google Apps RJUG 2011

Throttled

Page 10: Developing java Web Applications Using Google Apps RJUG 2011

IDEs, Toolkits, and Frameworks

Page 11: Developing java Web Applications Using Google Apps RJUG 2011

The usual mashups

Page 12: Developing java Web Applications Using Google Apps RJUG 2011

http://www.thetechtrendz.com/2010/07/top-10-best-google-app-engine-apps.html

Page 13: Developing java Web Applications Using Google Apps RJUG 2011

The application environment

dynamic web serving with full support for common web technologies

persistent storage with queries, sorting and transactions

automatic scaling and load balancingGoogle Account APIs

for authenticating users and sending emaila local development environment

that simulates Google App Engine on your computertask queues

for performing work outside of the scope of a web request

scheduled tasks for triggering events

Page 14: Developing java Web Applications Using Google Apps RJUG 2011

The sandbox

Outgoing access via URL fetch or email servicesIncoming access via HTTP (or HTTPS)Store state via App Engine datastore, memcache.Respond to web request, queued task, scheduled task Return response data within 30 seconds

Quotas and Limits

Free 500MB of storage and 5 million page views a month. 10 applications per developer account.

Page 15: Developing java Web Applications Using Google Apps RJUG 2011

Google Apps for Business

Central Development ManagementMaster account for Google Apps domain

Service Level Agreement (99.9%)Pricing: $8 per user per month (up to $1000)Expanded Enterprise Features

Hosted SQLSSL on your domain

Page 17: Developing java Web Applications Using Google Apps RJUG 2011

Development Workflow

App Engine software development kitAPIs and LibrariesSimulatorUpload tool

Google Plugin for Eclipse

create, test, and upload The Administration Console

create, configure, version, logs, browse.

Page 18: Developing java Web Applications Using Google Apps RJUG 2011

Vosao CMS for GAE

Maven JUnit Velocity TemplatesJQuery / Superfish CKEditor reCaptchaDisqus Bliki Native application

Direct calls to Google Data Services API

Open source (LGPL) on code.google.com

Page 19: Developing java Web Applications Using Google Apps RJUG 2011
Page 20: Developing java Web Applications Using Google Apps RJUG 2011
Page 21: Developing java Web Applications Using Google Apps RJUG 2011
Page 22: Developing java Web Applications Using Google Apps RJUG 2011
Page 23: Developing java Web Applications Using Google Apps RJUG 2011
Page 24: Developing java Web Applications Using Google Apps RJUG 2011
Page 25: Developing java Web Applications Using Google Apps RJUG 2011
Page 26: Developing java Web Applications Using Google Apps RJUG 2011
Page 27: Developing java Web Applications Using Google Apps RJUG 2011
Page 28: Developing java Web Applications Using Google Apps RJUG 2011

Vosao CMS

Challenges

ThrottlingBackup Hi volume = Hi performance

Windfalls

Direct SupportMultisite Facebook

Page 29: Developing java Web Applications Using Google Apps RJUG 2011

Roche and Douglas

Page 30: Developing java Web Applications Using Google Apps RJUG 2011