Ex.
No:
TO USE GAE LAUNCHER TO LAUNCH WEB
Date: APPLICATIONS.
AIM:
To use GAE launcher to launch the web applications.
PROCEDURE:
Step 1: Install Google Plugin for Eclipse
Step 2: Create New Web Application Project
In Eclipse toolbar, click on the Google icon, and select “New Web Application Project…”
REG NO:211520205153 NAME: SUBHIKSHA B
Click finish, Google Plugin for Eclipse will generate a sample project automatically.
Review the generated project directory.
Step 3: Review Java web project structure.
appengine-web.xml
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application></application>
<version>1</version>
<!-- Configure java.util.logging -->
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>
</appengine-web-app>
REG NO:211520205153 NAME: SUBHIKSHA B
Step 4: Run it local
Access URL http://localhost:8888/, see output and also the hello world servlet –
http://localhost:8888/helloworld
Step 5: Deploy to Google App Engine
Register an account on https://appengine.google.com/, and create an application ID for your
web application.
This demonstration has an application ID, named “mkyong123”, and is found in appengine-
web.xml.
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>mkyong123</application>
<version>1</version>
REG NO:211520205153 NAME: SUBHIKSHA B
<!-- Configure java.util.logging -->
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>
</appengine-web-app>
5.1 – Click on GAE deploy button on the toolbar.
5.2 Sign in with your Google account and click on the Deploy button.
REG NO:211520205153 NAME: SUBHIKSHA B
5.3 The hello world web application will be deployed to this URL –
http://mkyong123.appspot.com/
RESULT:
Thus, the program to use GAE launcher to launch the web applications has been successfully executed
and output verified.
REG NO:211520205153 NAME: SUBHIKSHA B
REG NO: 211520205134 NAME: SHARON VICTORIYA MA