Google App Engine f r o r J av a a v a (G ( AE A / E J / )



Similar documents
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012

Using Internet or Windows Explorer to Upload Your Site

T320 E-business technologies: foundations and practice

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Setting up Sharp MX-Color Imagers for Inbound Fax Routing to or Network Folder

Livezilla How to Install on Shared Hosting By: Jon Manning

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

Advanced Digital Imaging

Eclipse installation, configuration and operation

BusinessObjects Enterprise XI Release 2

SharePoint Wiki Redirect Installation Instruction

Configuring a Windows 2003 Server for IAS

Epidefender Studio Installation notice

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Creating Your Own TinyWeb Database. Ball State University - CS116 - Ashley Swartz

Web Server Configuration Guide

System Administration Training Guide. S100 Installation and Site Management

imageprograf Direct Print & Share Guide

Deploying Intellicus Portal on IBM WebSphere

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

How to install/upgrade the LANDesk virtual Cloud service appliance (CSA)

SAS 9.3 Foundation for Microsoft Windows

TUTORIAL ECLIPSE CLASSIC VERSION: ON SETTING UP OPENERP 6.1 SOURCE CODE UNDER WINDOWS PLATFORM. by Pir Khurram Rashdi

Installation and Upgrade Guide

Getting Started with StoreGrid Cloud

How to Configure a Secure Connection to Microsoft SQL Server

3. Installation and Configuration. 3.1 Java Development Kit (JDK)

Fahim Uddin 1. Java SDK

JMC Next Generation Web-based Server Install and Setup

1 of 10 1/31/2014 4:08 PM

Virtual Office Remote Installation Guide

WordCom, Inc. Secure File Transfer Web Application

IBM Bluemix Tutorial Connecting Eclipse to Bluemix v2.0

SOLGARI CLOUD BUSINESS COMMUNICATION SERVICES CLOUD CONTACT CENTRE MICROSOFT DYNAMICS INTEGRATION

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

Generating an Apple Enterprise MDM Certificate

Step by Step. Use the Cloud Login Website

Cloud Administration Guide for Service Cloud. August 2015 E

Introduction to Android Development

Secure Global Desktop (SGD)

Running a Program on an AVD

Wavecrest Certificate

How to Obtain an APNs Certificate for CA MDM

PingFederate. Identity Menu Builder. User Guide. Version 1.0

Using Remote Web Workplace Version 1.01

Information Technology Services

IBM WEBSPHERE LOAD BALANCING SUPPORT FOR EMC DOCUMENTUM WDK/WEBTOP IN A CLUSTERED ENVIRONMENT

Installing Globodox Web Client on Windows Server 2012

Department of Veterans Affairs VistA Integration Adapter Release Enhancement Manual

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

ACCEPT THE SECURITY CERTIFICATE FOR THE WEB FILTER

VPN SOFTWARE - WINDOWS XP & WINDOWS 64-BIT INSTALLATION AND CONFIGURATION INSTRUCTIONS

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

For details about using automatic user provisioning with Salesforce, see Configuring user provisioning for Salesforce.

Sharepoint. Overview. Key features of SharePoint:

owncloud Configuration and Usage Guide

Using ProjectWise Explorer for File Transfer

Installing buzztouch Self Hosted

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

Installing Cobra 4.7

Acrolinx IQ. Acrolinx IQ Plug-in for Adobe CQ Rich Text Editor Installation Guide Version: 2.9

NSi Mobile Installation Guide. Version 6.2

How To Sync Google Drive On A Mac Computer With A Gmail Account On A Gcd (For A Student) On A Pc Or Mac Or Mac (For An Older Person) On An Ipad Or Ipad (For Older People) On

Shavlik Patch for Microsoft System Center

InfoRouter LDAP Authentication Web Service documentation for inforouter Versions 7.5.x & 8.x

Milestone Systems Software Manager 1.5. Administrator's Manual

Configuring Salesforce

Infor Xtreme Browser References

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

Throughout this document, you will be instructed to log in as user Ann, or as user Julia. Log in using the user name assigned to you.

SQL EXPRESS INSTALLATION...

Installing the Android SDK

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

Using Group Policies to Install AutoCAD. CMMU 5405 Nate Bartley 9/22/2005

UP L18 Enhanced MDM and Updated Protection Hands-On Lab

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Verify LDAP over SSL/TLS (LDAPS) and CA Certificate Using Ldp.exe

ContentWatch Auto Deployment Tool

Installation Instructions for Backup Manager and Cloud Management Console

Lab 0 (Setting up your Development Environment) Week 1

Installing Globodox Web Client on Windows 7 (64 bit)

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04

INFORMATION SYSTEMS SERVICE NETWORKS AND TELECOMMUNICATIONS SECTOR. User Guide for the RightFax Fax Service. Web Utility

Internet Address: cloud.ndcl.org

Fax User Guide 07/31/2014 USER GUIDE

Install FileZilla Client. Connecting to an FTP server

Installation Guide on Cloud Platform

Using. Microsoft Virtual PC. Page 1

Interact for Microsoft Office

MiraCosta College now offers two ways to access your student virtual desktop.

Quick start. A project with SpagoBI 3.x

Releasing blocked in Data Security

There is a separate guide for students, available from Moodle at Student Resources > General Resources > Using Moodle for Students

How to Back Up and Restore an ACT! Database Answer ID 19211

NetBeans IDE Field Guide

Transcription:

Google App Engine for Java (GAE/J)

What is Google App Engine? Google offers a cloud computing infrastructure calledgoogle App Engine(App Engine) for creating and running web applications. App Engine allows the dynamic allocation of system resources for an application based on the actual demand. supports Python and Java based applications. includes Java Virtual Machine (JVM) based languages, e.g.groovyorscala. We focus on App Engine for Java (GAE/J)

Why App Engine? Easy to get Started Automatic scalability The reliability, performance and security of Google's infrastructure Cost efficient hosting Risk free trial period

Deploying to Google App Engine Get started with App Engine Deploy the application to App Engine Personalize the application with the User Service Store data in the datastore

Sign up for an App Engine account Sign upfor an App Engine account. After your account is activated, sign in and create an application. Make a note of the application ID you choose because you will need this information when you configure the StockWatcherproject. After you've finished with this tutorial you will be able to reuse this application ID for other applications

Get started with App Engine Set up project (not the PRC version) In the File menu, select the Import... menu option. Select the import source General > Existing Projects into Workspace. Click the Next button. At "Select root directory", browse to and select the StockWatcherdirectory (from the unzipped file). Click the Finish button. Add the Google Web Toolkit and App Engine functionality to your newly created project (right-click on your project > Google > Web Toolkit / App Engine Settings...). This will add Google Pluginfunctionality to your project as well as copy required libraries to your projectweb-inf/lib directory automatically.

Debug If you add App Engine to your project and the project has a war/web-inf folder, you should get a problem marker telling you that it is missing. If you open up the Problems View in Eclipse (Window > Show View > Problems), select the problem "The appengine-web.xml file does not exist" and hit CTRL+1 (Quick Fix), the pluginwill create the file for you. You can look at http://code.google.com/eclipse/docs/project_vali dations.htmlfor more information.

Test locally We will run the application in GWT development mode to verify the project was set up successfully. However, instead of using the servletcontainer which comes with GWT, the application will run in the App Engine development server, the servlet container which comes with the App Engine SDK. What's the difference? The App Engine development server is configured to mimic the App Engine production environment.

Deploy the application to App Engine

Deploy the application to App Engine In the Package Explorer view, select the StockWatcher project. In the toolbar, click the Deploy App Engine Project button. (First time only) Click the "App Engine project settings..." link to specify your application ID. Click the OK button when you're finished. Enter your Google Accounts email and password. Click the Deploy button. You can watch the deployment progress in the Eclipse Console.

Test on App Engine Test your uploaded application by opening a web browser to http://application-id.appspot.com/ whereapplication-idis the App Engine application ID that you created earlier. The StockWatcherapplication is now running on App Engine under your application ID.

Personalize the application with the User Service Use the App Engine User API to add user login to the application. To implement login functionality we'll use the User Serivce. With this service in place, any user with a Google Account will be able to login using their account to access the StockWatcher application.

Define the Login RPC service LoginInfoobject which will contain the login info from the User service

Once they log in, the App Engine container will know where to redirect the user based on the requesturi

Update the StockWatcherUI we are requiring user login, we have to change the loading logic a bit