http://www.menofactionscript.com/index.php?tempskin=_rss2
1340030779

Content-type: application/xml; charset=iso-8859-1

<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/4.1.1" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Men of ActionScript</title>
		<link>http://www.menofactionscript.com/index.php</link>
		<atom:link rel="self" type="application/rss+xml" href="http://www.menofactionscript.com/index.php?tempskin=_rss2" />
		<description></description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=4.1.1"/>
		<ttl>60</ttl>
				<item>
			<title>Setting up new laptop for Flex Development</title>
			<link>http://www.menofactionscript.com/index.php/2011/03/19/setting-up-new-laptop</link>
			<pubDate>Sat, 19 Mar 2011 19:51:31 +0000</pubDate>			<dc:creator>alevicki</dc:creator>
			<category domain="main">Flex</category>			<guid isPermaLink="false">35@http://www.menofactionscript.com/</guid>
						<description>&lt;p&gt;Going to take a break from the Google App Engine posts to document setting up my new laptop for Flex/AIR development.&lt;/p&gt;
&lt;p&gt;I have a copy of Flash Builder 4 on my desktop, but I don&#039;t have any additional licenses for it. &amp;#160;because I am unclear on all the rules surrounding if I can install it on my laptop and only use one at a time, I have decided to explore an open source alternative. &amp;#160;It appears that &lt;a title=&quot;FlashDevelop&quot; href=&quot;http://www.flashdevelop.org&quot; target=&quot;_blank&quot;&gt;FlashDevelop&lt;/a&gt; is a viable alternative, so I&#039;ve decided to give it a shot. &amp;#160;It is Windows only, so if you&#039;re on a Mac or Linux, you&#039;re out of luck.&lt;/p&gt;
&lt;p&gt;Installation instructions for FlashDevelop can be found here:&amp;#160;&lt;a href=&quot;http://www.flashdevelop.org/wikidocs/index.php?title=Installation&quot;&gt;http://www.flashdevelop.org/wikidocs/index.php?title=Installation&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;Note that even though their instructions, and my instructions, include downloading the Flex SDK, it appears that FlashDevelop will download the SDK for you as part of the installation process.&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Here are the steps I followed:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download and install the&amp;#160;&lt;a href=&quot;http://www.adobe.com/support/flashplayer/downloads.html&quot; target=&quot;_blank&quot;&gt;IE Flash Player ActiveX control&lt;/a&gt; (ActiveX, /me shudders)&lt;/li&gt;
&lt;li&gt;I skipped the SVN &amp;amp; Git download for now&lt;/li&gt;
&lt;li&gt;I haven&#039;t installed Java yet, so I grabbed the latest 64-bit &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot; target=&quot;_blank&quot;&gt;Java JDK&lt;/a&gt; and installed it&lt;ol&gt;
&lt;li&gt;Java sdk went into c:\dev\sdks\java\ (I had to copy this over, I didn&#039;t catch the dialog for doing it in the installer, if it existed)&lt;/li&gt;
&lt;li&gt;Java jre went into c:\apps\java&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;I downloaded the &lt;a href=&quot;http://opensource.adobe.com/wiki/display/flexsdk/Downloads&quot; target=&quot;_blank&quot;&gt;Open Source Flex 4.1.0 SDK&lt;/a&gt; and unzipped it to c:\dev\sdks\flex\4.1.0&lt;/li&gt;
&lt;li&gt;I downloaded the FlashDevelop 3.3.4 release and installed it to c:\apps\FlashDevelop&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After installation, FlashDevelop started up fine. &amp;#160;I created a new Flex 4 project, added a Spark Label with Hello World, and built. &amp;#160;This is where I encountered my first problem:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Running process: C:\apps\FlashDevelop\Tools\fdbuild\fdbuild.exe &quot;C:\dev\workspaces\FlashDevelop\FirstFlashDevelopProject\FirstFlashDevelopProject.as3proj&quot; -ipc b9d4ab28-7ed8-4f2c-ab61-febf52b9bd08 -compiler &quot;C:\apps\FlashDevelop\Tools\flexsdk&quot; -library &quot;C:\apps\FlashDevelop\Library&quot;&lt;/p&gt;
&lt;p&gt;Using the Flex Compiler Shell.&lt;/p&gt;
&lt;p&gt;Building FirstFlashDevelopProject&lt;/p&gt;
&lt;p&gt;mxmlc -load-config+=obj\FirstFlashDevelopProjectConfig.xml -debug=true -incremental=true -benchmark=false -static-link-runtime-shared-libraries=true -o obj\FirstFlashDevelopProject634362202147913601&lt;/p&gt;
&lt;p&gt;Unable to start java.exe: The system cannot find the file specified&lt;/p&gt;
&lt;p&gt;Could not compile because the fcsh process could not be started.&lt;/p&gt;
&lt;p&gt;Build halted with errors (fcsh).&lt;/p&gt;
&lt;p&gt;INITIALIZING: Failed, unable to run compiler&lt;/p&gt;
&lt;p&gt;Done(1)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you come across this, make sure you have the bin directory for Java on your PATH environment variable. &amp;#160;If you haven&#039;t already, make sure you&#039;ve got the JAVA_HOME pointing at your JRE or JDK. &amp;#160;I also pointed FlashDevelop at the Flex SDK that I had downloaded instead of the version it had downloaded (I don&#039;t believe this was related to the error, but I took the opportunity to change it).&lt;/p&gt;
&lt;p&gt;After I resolved that issue, the project compiled fine and I was able to view the results in Chrome.&lt;/p&gt;
&lt;p&gt;That&#039;s all that was needed to get a FlashDevelop project up and running. &amp;#160;I will play with the tool more later and write up my impressions of it. &amp;#160;Hopefully it turns out to be a good Open Source alternative to Flash Builder 4.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;/blockquote&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.menofactionscript.com/index.php/2011/03/19/setting-up-new-laptop&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Going to take a break from the Google App Engine posts to document setting up my new laptop for Flex/AIR development.</p>
<p>I have a copy of Flash Builder 4 on my desktop, but I don't have any additional licenses for it. &#160;because I am unclear on all the rules surrounding if I can install it on my laptop and only use one at a time, I have decided to explore an open source alternative. &#160;It appears that <a title="FlashDevelop" href="http://www.flashdevelop.org" target="_blank">FlashDevelop</a> is a viable alternative, so I've decided to give it a shot. &#160;It is Windows only, so if you're on a Mac or Linux, you're out of luck.</p>
<p>Installation instructions for FlashDevelop can be found here:&#160;<a href="http://www.flashdevelop.org/wikidocs/index.php?title=Installation">http://www.flashdevelop.org/wikidocs/index.php?title=Installation</a></p>
<blockquote>Note that even though their instructions, and my instructions, include downloading the Flex SDK, it appears that FlashDevelop will download the SDK for you as part of the installation process.</blockquote>
<p><strong>Here are the steps I followed:</strong></p>
<ol>
<li>Download and install the&#160;<a href="http://www.adobe.com/support/flashplayer/downloads.html" target="_blank">IE Flash Player ActiveX control</a> (ActiveX, /me shudders)</li>
<li>I skipped the SVN &amp; Git download for now</li>
<li>I haven't installed Java yet, so I grabbed the latest 64-bit <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">Java JDK</a> and installed it<ol>
<li>Java sdk went into c:\dev\sdks\java\ (I had to copy this over, I didn't catch the dialog for doing it in the installer, if it existed)</li>
<li>Java jre went into c:\apps\java</li>
</ol></li>
<li>I downloaded the <a href="http://opensource.adobe.com/wiki/display/flexsdk/Downloads" target="_blank">Open Source Flex 4.1.0 SDK</a> and unzipped it to c:\dev\sdks\flex\4.1.0</li>
<li>I downloaded the FlashDevelop 3.3.4 release and installed it to c:\apps\FlashDevelop</li>
</ol>
<p>After installation, FlashDevelop started up fine. &#160;I created a new Flex 4 project, added a Spark Label with Hello World, and built. &#160;This is where I encountered my first problem:</p>
<blockquote>
<p>Running process: C:\apps\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\dev\workspaces\FlashDevelop\FirstFlashDevelopProject\FirstFlashDevelopProject.as3proj" -ipc b9d4ab28-7ed8-4f2c-ab61-febf52b9bd08 -compiler "C:\apps\FlashDevelop\Tools\flexsdk" -library "C:\apps\FlashDevelop\Library"</p>
<p>Using the Flex Compiler Shell.</p>
<p>Building FirstFlashDevelopProject</p>
<p>mxmlc -load-config+=obj\FirstFlashDevelopProjectConfig.xml -debug=true -incremental=true -benchmark=false -static-link-runtime-shared-libraries=true -o obj\FirstFlashDevelopProject634362202147913601</p>
<p>Unable to start java.exe: The system cannot find the file specified</p>
<p>Could not compile because the fcsh process could not be started.</p>
<p>Build halted with errors (fcsh).</p>
<p>INITIALIZING: Failed, unable to run compiler</p>
<p>Done(1)</p>
</blockquote>
<p>If you come across this, make sure you have the bin directory for Java on your PATH environment variable. &#160;If you haven't already, make sure you've got the JAVA_HOME pointing at your JRE or JDK. &#160;I also pointed FlashDevelop at the Flex SDK that I had downloaded instead of the version it had downloaded (I don't believe this was related to the error, but I took the opportunity to change it).</p>
<p>After I resolved that issue, the project compiled fine and I was able to view the results in Chrome.</p>
<p>That's all that was needed to get a FlashDevelop project up and running. &#160;I will play with the tool more later and write up my impressions of it. &#160;Hopefully it turns out to be a good Open Source alternative to Flash Builder 4.</p>
<p>&#160;</p>
<blockquote>
<p>&#160;</p>
</blockquote><div class="item_footer"><p><small><a href="http://www.menofactionscript.com/index.php/2011/03/19/setting-up-new-laptop">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.menofactionscript.com/index.php/2011/03/19/setting-up-new-laptop#comments</comments>
			<wfw:commentRss>http://www.menofactionscript.com/index.php?tempskin=_rss2&#38;disp=comments&#38;p=35</wfw:commentRss>
		</item>
				<item>
			<title>Google App Engine Getting Started #4</title>
			<link>http://www.menofactionscript.com/index.php/2011/03/14/google-appengine-getting-started-4</link>
			<pubDate>Tue, 15 Mar 2011 04:48:05 +0000</pubDate>			<dc:creator>alevicki</dc:creator>
			<category domain="main">Google App Engine</category>			<guid isPermaLink="false">34@http://www.menofactionscript.com/</guid>
						<description>&lt;p&gt;The next topic in the getting started with Google App Engine was working with storing data. &amp;#160;There are two options to persistence in the Google App Engine world, JDO and JPA. &amp;#160;JPA is probably familiar to anyone who is doing enterprise development in Java. &amp;#160;I had personally never heard of JDO before. &amp;#160;The example for this getting started guide uses the JDO option for persistence.&lt;/p&gt;
&lt;p&gt;By default, a new Google App Engine sets up everything that you&#039;ll need for persisting objects so all you haev to do is create your objects and add the appropriate annotations to them. &amp;#160;I followed the steps from the guide except I named my PersistenceManagerFactory &quot;PersistenceManagerFactory&quot; since PMF tells nothing to someone trying to read your code. &amp;#160;This conflicts with the built in class, but since that class should only be referenced by your own PersistenceManagerFactory I didn&#039;t view this as much of a negative.&lt;/p&gt;
&lt;p&gt;This part of the guide can be found here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html&quot;&gt;http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The results are located here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://alevicki.appspot.com/guestbook.jsp&quot;&gt;http://alevicki.appspot.com/guestbook.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.menofactionscript.com/index.php/2011/03/14/google-appengine-getting-started-4&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>The next topic in the getting started with Google App Engine was working with storing data. &#160;There are two options to persistence in the Google App Engine world, JDO and JPA. &#160;JPA is probably familiar to anyone who is doing enterprise development in Java. &#160;I had personally never heard of JDO before. &#160;The example for this getting started guide uses the JDO option for persistence.</p>
<p>By default, a new Google App Engine sets up everything that you'll need for persisting objects so all you haev to do is create your objects and add the appropriate annotations to them. &#160;I followed the steps from the guide except I named my PersistenceManagerFactory "PersistenceManagerFactory" since PMF tells nothing to someone trying to read your code. &#160;This conflicts with the built in class, but since that class should only be referenced by your own PersistenceManagerFactory I didn't view this as much of a negative.</p>
<p>This part of the guide can be found here:</p>
<p><a href="http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html">http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html</a></p>
<p>The results are located here:</p>
<p><a href="http://alevicki.appspot.com/guestbook.jsp">http://alevicki.appspot.com/guestbook.jsp</a></p>
<p>&#160;</p>
<p>&#160;</p><div class="item_footer"><p><small><a href="http://www.menofactionscript.com/index.php/2011/03/14/google-appengine-getting-started-4">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.menofactionscript.com/index.php/2011/03/14/google-appengine-getting-started-4#comments</comments>
			<wfw:commentRss>http://www.menofactionscript.com/index.php?tempskin=_rss2&#38;disp=comments&#38;p=34</wfw:commentRss>
		</item>
				<item>
			<title>Google App Engine Getting Started #3</title>
			<link>http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-3</link>
			<pubDate>Sun, 13 Mar 2011 23:45:29 +0000</pubDate>			<dc:creator>alevicki</dc:creator>
			<category domain="main">Google App Engine</category>			<guid isPermaLink="false">33@http://www.menofactionscript.com/</guid>
						<description>&lt;p&gt;This getting started was all about using JSPs. &amp;#160;As soon as I added a JSP to the project I got an error:&lt;/p&gt;
&lt;blockquote&gt;Description&lt;span&gt; &lt;/span&gt;Resource&lt;span&gt; &lt;/span&gt;Path&lt;span&gt; &lt;/span&gt;Location&lt;span&gt; &lt;/span&gt;Type&lt;br /&gt;Your project must be configured to use a JDK in order to use JSPs&lt;span&gt; &lt;/span&gt;helloUser.jsp&lt;span&gt; &lt;/span&gt;/googleAppEngineAlevicki/war&lt;span&gt; &lt;/span&gt;Unknown&lt;span&gt; &lt;/span&gt;Google App Engine Problem&lt;/blockquote&gt;
&lt;p&gt;The problem was that my Eclipse instance was pointing at an installed JRE instead of an installed JDK for its JRE purposes. Pointing at my installed JDK via Window &amp;gt; Preferences, Java, Installed JREs fixed the problem.&lt;/p&gt;
&lt;p&gt;I deployed the first simple JSP to my App Engine as the default page. &amp;#160;It can be accessed via&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://alevicki.appspot.com/&quot;&gt;http://alevicki.appspot.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://alevicki.appspot.com/helloUser.jsp&quot;&gt;http://alevicki.appspot.com/helloUser.jsp&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-3&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>This getting started was all about using JSPs. &#160;As soon as I added a JSP to the project I got an error:</p>
<blockquote>Description<span> </span>Resource<span> </span>Path<span> </span>Location<span> </span>Type<br />Your project must be configured to use a JDK in order to use JSPs<span> </span>helloUser.jsp<span> </span>/googleAppEngineAlevicki/war<span> </span>Unknown<span> </span>Google App Engine Problem</blockquote>
<p>The problem was that my Eclipse instance was pointing at an installed JRE instead of an installed JDK for its JRE purposes. Pointing at my installed JDK via Window &gt; Preferences, Java, Installed JREs fixed the problem.</p>
<p>I deployed the first simple JSP to my App Engine as the default page. &#160;It can be accessed via</p>
<p><a href="http://alevicki.appspot.com/">http://alevicki.appspot.com/</a></p>
<p>or</p>
<p><a href="http://alevicki.appspot.com/helloUser.jsp">http://alevicki.appspot.com/helloUser.jsp</a></p><div class="item_footer"><p><small><a href="http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-3">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-3#comments</comments>
			<wfw:commentRss>http://www.menofactionscript.com/index.php?tempskin=_rss2&#38;disp=comments&#38;p=33</wfw:commentRss>
		</item>
				<item>
			<title>Google App Engine Getting Started #2</title>
			<link>http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-2</link>
			<pubDate>Sun, 13 Mar 2011 19:10:22 +0000</pubDate>			<dc:creator>alevicki</dc:creator>
			<category domain="main">Google App Engine</category>			<guid isPermaLink="false">32@http://www.menofactionscript.com/</guid>
						<description>&lt;p&gt;For this post I tackled the 2nd part of the App Engine getting started guide located here:&amp;#160;&lt;a href=&quot;http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html&quot;&gt;http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I didn&#039;t follow their instructions exactly. &amp;#160;Instead of modifying my existing servlet, located here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://alevicki.appspot.com/googleappenginealevicki&quot;&gt;http://alevicki.appspot.com/googleappenginealevicki&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I decided to create an additional servlet for the new functionality. &amp;#160;Because of this I had to make some changes to my existing web.xml that were not included in the getting started guide. &amp;#160;You can find my modified web.xml below.&lt;/p&gt;
&lt;p&gt;In addition, instead of just saying &quot;Hello, Nickname&quot; I decided that I would expose some of the other fields on the User object. &amp;#160;These included auth domain, federated identity, user id, and email address. &amp;#160;I was surprised by the length of the user id, as it implies Google could support an astronomical number of users unless they are somehow encoding additional information into the id, which would be rather odd.&lt;/p&gt;
&lt;p&gt;The hello user servlet is located here:&amp;#160;&lt;a href=&quot;http://alevicki.appspot.com/hellouser&quot;&gt;http://alevicki.appspot.com/hellouser&lt;/a&gt;. &amp;#160;It will redirect you to a Google sign in page if you do not already have an active session. &amp;#160;This is accomplished using the&amp;#160;userService.createLoginURL as described in the getting started guide.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Updated web.xml:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: Georgia, &#039;Times New Roman&#039;, &#039;Bitstream Charter&#039;, Times, serif; font-size: x-small;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;web-app xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;
xmlns:web=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;
xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee
&lt;a href=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&quot;&gt;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;/a&gt; version=&quot;2.5&quot;&amp;gt;
	&amp;lt;servlet&amp;gt;
		&amp;lt;servlet-name&amp;gt;GoogleAppEngineAlevicki&amp;lt;/servlet-name&amp;gt;
		&amp;lt;servlet-class&amp;gt;com.menofactionscript.GoogleAppEngineAlevickiServlet&amp;lt;/servlet-class&amp;gt;
	&amp;lt;/servlet&amp;gt;
	&amp;lt;servlet&amp;gt;
		&amp;lt;servlet-name&amp;gt;HelloUser&amp;lt;/servlet-name&amp;gt;
		&amp;lt;servlet-class&amp;gt;com.menofactionscript.HelloUser&amp;lt;/servlet-class&amp;gt;
	&amp;lt;/servlet&amp;gt;
	&amp;lt;servlet-mapping&amp;gt;
		&amp;lt;servlet-name&amp;gt;GoogleAppEngineAlevicki&amp;lt;/servlet-name&amp;gt;
		&amp;lt;url-pattern&amp;gt;/googleappenginealevicki&amp;lt;/url-pattern&amp;gt;
	&amp;lt;/servlet-mapping&amp;gt;
	&amp;lt;servlet-mapping&amp;gt;
		&amp;lt;servlet-name&amp;gt;HelloUser&amp;lt;/servlet-name&amp;gt;
		&amp;lt;url-pattern&amp;gt;/hellouser&amp;lt;/url-pattern&amp;gt;
	&amp;lt;/servlet-mapping&amp;gt;
	&amp;lt;welcome-file-list&amp;gt;
		&amp;lt;welcome-file&amp;gt;index.html&amp;lt;/welcome-file&amp;gt;
	&amp;lt;/welcome-file-list&amp;gt;
&amp;lt;/web-app&amp;gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Georgia, &#039;Times New Roman&#039;, &#039;Bitstream Charter&#039;, Times, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>For this post I tackled the 2nd part of the App Engine getting started guide located here:&#160;<a href="http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html">http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html</a></p>
<p>I didn't follow their instructions exactly. &#160;Instead of modifying my existing servlet, located here:</p>
<p><a href="http://alevicki.appspot.com/googleappenginealevicki">http://alevicki.appspot.com/googleappenginealevicki</a></p>
<p>I decided to create an additional servlet for the new functionality. &#160;Because of this I had to make some changes to my existing web.xml that were not included in the getting started guide. &#160;You can find my modified web.xml below.</p>
<p>In addition, instead of just saying "Hello, Nickname" I decided that I would expose some of the other fields on the User object. &#160;These included auth domain, federated identity, user id, and email address. &#160;I was surprised by the length of the user id, as it implies Google could support an astronomical number of users unless they are somehow encoding additional information into the id, which would be rather odd.</p>
<p>The hello user servlet is located here:&#160;<a href="http://alevicki.appspot.com/hellouser">http://alevicki.appspot.com/hellouser</a>. &#160;It will redirect you to a Google sign in page if you do not already have an active session. &#160;This is accomplished using the&#160;userService.createLoginURL as described in the getting started guide.</p>
<p><strong>Updated web.xml:</strong></p>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: x-small;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
<a href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"">http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"</a> version="2.5"&gt;
	&lt;servlet&gt;
		&lt;servlet-name&gt;GoogleAppEngineAlevicki&lt;/servlet-name&gt;
		&lt;servlet-class&gt;com.menofactionscript.GoogleAppEngineAlevickiServlet&lt;/servlet-class&gt;
	&lt;/servlet&gt;
	&lt;servlet&gt;
		&lt;servlet-name&gt;HelloUser&lt;/servlet-name&gt;
		&lt;servlet-class&gt;com.menofactionscript.HelloUser&lt;/servlet-class&gt;
	&lt;/servlet&gt;
	&lt;servlet-mapping&gt;
		&lt;servlet-name&gt;GoogleAppEngineAlevicki&lt;/servlet-name&gt;
		&lt;url-pattern&gt;/googleappenginealevicki&lt;/url-pattern&gt;
	&lt;/servlet-mapping&gt;
	&lt;servlet-mapping&gt;
		&lt;servlet-name&gt;HelloUser&lt;/servlet-name&gt;
		&lt;url-pattern&gt;/hellouser&lt;/url-pattern&gt;
	&lt;/servlet-mapping&gt;
	&lt;welcome-file-list&gt;
		&lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
	&lt;/welcome-file-list&gt;
&lt;/web-app&gt;
</span></pre>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: x-small;"><br /></span></p>
<p>&#160;</p><div class="item_footer"><p><small><a href="http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-2">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.menofactionscript.com/index.php/2011/03/13/google-appengine-getting-started-2#comments</comments>
			<wfw:commentRss>http://www.menofactionscript.com/index.php?tempskin=_rss2&#38;disp=comments&#38;p=32</wfw:commentRss>
		</item>
				<item>
			<title>Google App Engine Hello World</title>
			<link>http://www.menofactionscript.com/index.php/2011/03/11/google-appengine</link>
			<pubDate>Sat, 12 Mar 2011 05:35:00 +0000</pubDate>			<dc:creator>alevicki</dc:creator>
			<category domain="main">Google App Engine</category>			<guid isPermaLink="false">31@http://www.menofactionscript.com/</guid>
						<description>&lt;p&gt;This is the first blog post on here, so I might as well say that this one has nothing to do with ActionScript, and honestly a lot of the posts probably won&#039;t.&lt;/p&gt;
&lt;p&gt;I decided to check out how difficult it was to get an application running on Google App Engine, and I&#039;ve found it to be surpisingly easy to do. &amp;#160;Google has done an awesome job of integrating with the developer tools out there to make this almost as painless a process as possible. &amp;#160;Here are some steps to getting setup:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check out the Google App Engine site for information:&amp;#160;&lt;a href=&quot;http://code.google.com/appengine/&quot;&gt;http://code.google.com/appengine/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Go to the Download page to find the downloads you&#039;re going to need:&amp;#160;&lt;a href=&quot;http://code.google.com/appengine/downloads.html&quot;&gt;http://code.google.com/appengine/downloads.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;If you haven&#039;t already, download the latest Eclipse version. &amp;#160;At the time of this writing it was Helios. &amp;#160;You can find a list of the available Eclipse downloads here:&amp;#160;&lt;a href=&quot;http://www.eclipse.org/downloads/&quot;&gt;http://www.eclipse.org/downloads/&lt;/a&gt; I chose the Eclipse IDE for Java Developers&lt;/li&gt;
&lt;li&gt;Download and unzip the Eclipse installation. &amp;#160;Because I have multiple Eclipse installed on my system, I placed it here:&amp;#160;C:\apps\eclipse_helios&lt;/li&gt;
&lt;li&gt;Start up Eclipse and follow the instructions for installing the Google App Engine plugin found here&amp;#160;&lt;a href=&quot;http://code.google.com/eclipse/docs/install-eclipse-3.6.html&quot;&gt;http://code.google.com/eclipse/docs/install-eclipse-3.6.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;After Eclipse has installed the plugin and restarted, follow the getting started with Java guide found here to get your Hello World up and running&amp;#160;&lt;a href=&quot;http://code.google.com/appengine/docs/java/gettingstarted/creating.html&quot;&gt;http://code.google.com/appengine/docs/java/gettingstarted/creating.html&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;My Hello World is located here:&amp;#160;&lt;a href=&quot;http://alevicki.appspot.com/googleappenginealevicki&quot;&gt;http://alevicki.appspot.com/googleappenginealevicki&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Extremely simple, but the key takeaway here was that Google has made this extremely easy to do. &amp;#160;You can even upload your application from Eclipse to your App Engine account. &amp;#160;I&#039;ll be looking at the other getting started topics in future posts.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.menofactionscript.com/index.php/2011/03/11/google-appengine&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>This is the first blog post on here, so I might as well say that this one has nothing to do with ActionScript, and honestly a lot of the posts probably won't.</p>
<p>I decided to check out how difficult it was to get an application running on Google App Engine, and I've found it to be surpisingly easy to do. &#160;Google has done an awesome job of integrating with the developer tools out there to make this almost as painless a process as possible. &#160;Here are some steps to getting setup:</p>
<ol>
<li>Check out the Google App Engine site for information:&#160;<a href="http://code.google.com/appengine/">http://code.google.com/appengine/</a></li>
<li>Go to the Download page to find the downloads you're going to need:&#160;<a href="http://code.google.com/appengine/downloads.html">http://code.google.com/appengine/downloads.html</a></li>
<li>If you haven't already, download the latest Eclipse version. &#160;At the time of this writing it was Helios. &#160;You can find a list of the available Eclipse downloads here:&#160;<a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a> I chose the Eclipse IDE for Java Developers</li>
<li>Download and unzip the Eclipse installation. &#160;Because I have multiple Eclipse installed on my system, I placed it here:&#160;C:\apps\eclipse_helios</li>
<li>Start up Eclipse and follow the instructions for installing the Google App Engine plugin found here&#160;<a href="http://code.google.com/eclipse/docs/install-eclipse-3.6.html">http://code.google.com/eclipse/docs/install-eclipse-3.6.html</a></li>
<li>After Eclipse has installed the plugin and restarted, follow the getting started with Java guide found here to get your Hello World up and running&#160;<a href="http://code.google.com/appengine/docs/java/gettingstarted/creating.html">http://code.google.com/appengine/docs/java/gettingstarted/creating.html</a></li>
</ol>
<p>My Hello World is located here:&#160;<a href="http://alevicki.appspot.com/googleappenginealevicki">http://alevicki.appspot.com/googleappenginealevicki</a></p>
<p>Extremely simple, but the key takeaway here was that Google has made this extremely easy to do. &#160;You can even upload your application from Eclipse to your App Engine account. &#160;I'll be looking at the other getting started topics in future posts.</p><div class="item_footer"><p><small><a href="http://www.menofactionscript.com/index.php/2011/03/11/google-appengine">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.menofactionscript.com/index.php/2011/03/11/google-appengine#comments</comments>
			<wfw:commentRss>http://www.menofactionscript.com/index.php?tempskin=_rss2&#38;disp=comments&#38;p=31</wfw:commentRss>
		</item>
			</channel>
</rss>
