gae as android test portal. part 1
Post on 30-Jun-2015
424 Views
Preview:
DESCRIPTION
TRANSCRIPT
GAE as Android test
portalPart 1.
A walkthrough from Eclipse to ”Hello World”
Outline Introduction
Install Eclipse Plugin
Create a Web Application Project
Run locally
Create Application at GAE
Deploy to App Engine
What do we have?
Introduction GAE as Android test portal
Part 1. Environment and infrastructure in place
Part 2. Backend: Adding users. Data persistence and mail API
Part 3. Frontend. Zepto, Backbone
Development environment: MacBook Pro
Eclipse Indigo
GAE, source Wikipedia
Google App Engine (GAE), is a platform as a service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centres. Applications are sandboxed and run across multiple servers.
Google App Engine is free up to a certain level of consumed resources.
It was first released as a preview version in April 2008, and came out of preview in September 2011.
GAE, source Wikipedia con’t
Supported programming languages: Python, Java, Go.
Developer site: https://developers.google.com/appengine/
Deployment site: https://appengine.google.com/
Install Eclipse PluginSelect the Help menu > Install New Software.
Enter URL in Work with
Select SDK and Plugin
Create a project Select the File menu > New -> Web Application Project.
Not using GWT!
Default SDK
Create a project con’t
We want sample code
Press Finish and we are ready to go!
Launch locally Right click on project -> Run As -> Web
Application
localhost:8888
Create GAE Application
Head on to https://appengine.google.com/
Press ‘Create’
Create GAE Application con’t
Enter mobile number
Create GAE Application con’t
Enter mobile numberCode here
Create GAE Application con’t
Enter name
Scroll down and press “Create
Application”
Create GAE Application con’t
Enter name
Scroll down and press “Create
Application”
Application ID
Deploy to App EngineRight click on project ->Properties.
Application ID
Deploy to App Engine con’t
Right click on project -> Google -> Deploy to App Engine
Deploy to App Engine con’t
Right click on project -> Google -> Deploy to App Engine
What do we have? ./src./src/log4j.properties./src/META-INF./src/META-INF/jdoconfig.xml (1)./.../src/se/asapehrsson/testportal/AndroidTestPortalServlet.java (2)./war./war/favicon.ico./war/index.html (3)./war/WEB-INF./war/WEB-INF/appengine-web.xml (4)./war/WEB-INF/classes./war/WEB-INF/lib // A bunch of libs./war/WEB-INF/logging.properties./war/WEB-INF/web.xml (5)
top related