<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pearl Tech &#187; Google App Engine</title>
	<atom:link href="http://blog.pearltechnology.com/tag/google-app-engine/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pearltechnology.com</link>
	<description></description>
	<lastBuildDate>Thu, 05 Jan 2012 14:47:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Deploying to Google App Engine</title>
		<link>http://blog.pearltechnology.com/deploying-to-google-app-engine/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.pearltechnology.com/deploying-to-google-app-engine/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 17:55:40 +0000</pubDate>
		<dc:creator>AaronH</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[App Engine]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google App Engine]]></category>

		<guid isPermaLink="false">http://blog.pearltechnology.com/?p=456</guid>
		<description><![CDATA[
Google has opened up their hosting services to the cloud with their free Google App Engine offering. Google makes it quick and easy to get going with their cloud offerings. Here a quick review of how to get started with the App Engine.
To use App Engine, you need a Google Account. Once you have your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/appengine.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-458" title="Google App Engine" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/appengine.png" alt="Google App Engine" width="145" height="111" /></a><br />
Google has opened up their hosting services to the cloud with their free <a href="http://appengine.google.com">Google App Engine</a> offering. Google makes it quick and easy to get going with their cloud offerings. Here a quick review of how to get started with the App Engine.</p>
<p>To use App Engine, you need a <a href="https://www.google.com/accounts/NewAccount">Google Account</a>. Once you have your Google Account, you can enable App Engine services by entering in your cell phone number and carrier on the App Engine <a href="https://appengine.google.com">setup page</a>. Google will send you an SMS with an access code you need to enter into the website. This activation scheme is Google&#8217;s way of restricting you from creating multiple App Engine accounts.</p>
<p><center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Google-Apps-Verify.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-465" title="Google Apps Verify" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Google-Apps-Verify-300x141.png" alt="Google Apps Verify" width="300" height="141" /></a><br />
</center></p>
<p>When you have received your code via SMS and entered your activation code, you can begin creating applications. The following appears after you have activated your App Engine account.</p>
<p><center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Create-Google-App.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-469" title="Create Google App" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Create-Google-App-300x78.png" alt="Create Google App" width="300" height="78" /></a><br />
</center></p>
<p>When you click &#8220;Create an Application&#8221; you can enter an application alias where your new application will be hosted on the appspot.com domain.<br />
<center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Create-Google-App-2.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-472" title="Create Google App Alias" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Create-Google-App-2-300x96.png" alt="Create Google App Alias" width="300" height="96" /></a><br />
</center></p>
<p>If your alias is available, you can then create an application and deploy to your new cloud application. In this example, we created the alias &#8220;pearlcompanies&#8221;.</p>
<p>Since we&#8217;re running in a windows environment, our next step is to setup <a href="http://www.eclipse.org/downloads/">Eclipse</a> and the <a href="http://code.google.com/appengine/docs/java/tools/eclipse.html">Google Plugin for Eclipse</a> to deploy to our cloud application. We used Eclipse 3.5 (Galileo) in our example. After unpacking the Eclipse folder contents, we tell Eclipse where to get the Google Plugin. We add the available software site &#8220;http://dl.google.com/eclipse/plugin/3.5&#8243; to our Eclipse Preferences.<br />
<center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Available-Software-Sites.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-477" title="Available Software Sites" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Available-Software-Sites-300x191.png" alt="Available Software Sites" width="300" height="191" /></a><br />
</center></p>
<p>Download and Install both the Google Eclipse plugin and GWT and App Engine SDKs.<br />
<center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Install-Google-Plugin.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-478" title="Install Google Plugin" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Install-Google-Plugin-300x299.png" alt="Install Google Plugin" width="300" height="299" /></a><br />
</center></p>
<p>After installing the Google SDKs, we can create Google App Engine projects (Web Application Projects). The nice thing here is that we can run the cloud application locally and verify it before deploying remotely to the cloud. The Google SDK comes with the components necessary to simulate the cloud environment.</p>
<p><center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Create-Google-Web-Project.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-484" title="Create Google Web Project" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Create-Google-Web-Project-262x300.png" alt="Create Google Web Project" width="262" height="300" /></a><br />
</center></p>
<p>Once we have our web project, we can begin creating our WAR package for deployment into the App Engine cloud service. The current App Engine supports Java and Python environments, but in this example we are going to use the Java runtime. Since we&#8217;re demonstrating deployment here, we are not going to use any servlets, but simply an HTML front-end. After changing the index.html page in our web project, we click the App Engine icon in the Eclipse toolbar.</p>
<p><center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/App-Engine-Deploy-Icon.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-full wp-image-485" title="App Engine Deploy Icon" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/App-Engine-Deploy-Icon.png" alt="App Engine Deploy Icon" width="225" height="31" /></a><br />
</center></p>
<p>After clicking the icon, we are prompted with the deployment wizard which has our Google account credentials and a link to the App Engine project settings. Click the project settings and enter the Application ID and version for the application (<em>use the alias we setup previously</em>).</p>
<p><center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/App-Engine-Properties.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-488" title="App Engine Properties" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/App-Engine-Properties-300x263.png" alt="App Engine Properties" width="300" height="263" /></a><br />
</center></p>
<p>Click &#8216;Ok&#8217; on the properties dialog, and then enter your login credentials. Once you click &#8216;Deploy&#8217;, your application will be pushed into the Google App Engine cloud. You can view and manage your applications that are live in the Google App Engine site.</p>
<p><center><br />
<a href="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Google-Apps-List.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-489" title="Google Apps List" src="http://blog.pearltechnology.com/wp-content/uploads/2009/11/Google-Apps-List-300x112.png" alt="Google Apps List" width="300" height="112" /></a><br />
</center></p>
<p>You can view the clone of our Pearl Companies website which we deployed to <a href="http://pearlcompanies.appspot.com">pearlcompanies.appspot.com</a>. Please let us know about your App Engine experiences. We look forward to using this new powerful platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pearltechnology.com/deploying-to-google-app-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

