<?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>Just2us &#187; AppEngine</title>
	<atom:link href="http://blog.just2us.com/tag/appengine/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.just2us.com</link>
	<description>discuss on technology &#38; application development</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:55:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Lessons learnt from SG 4D server glitch</title>
		<link>http://blog.just2us.com/2011/09/lessons-learnt-from-sg-4d-server-glitch/</link>
		<comments>http://blog.just2us.com/2011/09/lessons-learnt-from-sg-4d-server-glitch/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 14:40:45 +0000</pubDate>
		<dc:creator>samwize</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[AppEngine]]></category>
		<category><![CDATA[SG 4D]]></category>

		<guid isPermaLink="false">http://blog.just2us.com/?p=689</guid>
		<description><![CDATA[
			
				
			
		
Last week, I upgraded Google&#8217;s App Engine to version 1.5.2.
I was careless and did not perform enough tests, and it turned out there is a bug with App Engine SDK 1.5.2 (I believe same with 1.5.0). There is a memcache error due to missing library.
If you encounter a &#34;javax/cache/CacheException&#34;, then you are probably having the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.just2us.com%2F2011%2F09%2Flessons-learnt-from-sg-4d-server-glitch%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.just2us.com%2F2011%2F09%2Flessons-learnt-from-sg-4d-server-glitch%2F&amp;source=samwize&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Last week, I upgraded Google&#8217;s App Engine to version 1.5.2.</p>
<p>I was careless and did not perform enough tests, and it turned out there is a bug with App Engine SDK 1.5.2 (I believe same with 1.5.0). There is a memcache error due to missing library.</p>
<p>If you encounter a &quot;javax/cache/CacheException&quot;, then you are probably having the same problem. The fix is simply upgrading to the latest version at 1.5.4.</p>
<p>Over that 2 days where the bug infested the SG 4D app, I observed a few interesting behaviors. Here’s what I leant.</p>
<h3>Lesson 1: Ads revenue increased 10X</h3>
<p>As the app could not display the latest results, users has nothing better to do, so they click the ads.. That resulted in 10X more clicks than usual!</p>
<p>An evil thought: Introduce glitches to drive ads revenue (just kidding!)</p>
<h3>Lesson 2: In-app-purchase increased 5X</h3>
<p>The in-app-purchase to unlock the premium features increased too! Users thought that the app has “expired”, hence they can’t see the results, hence the purchase. </p>
<p>(this hypothesis is true, and was validated by a couple of emails from users)</p>
<h3>Lesson 3: Other 4D apps rise quickly</h3>
<p>The effect is immediate. On the first day that my app did not work, users downloaded alternatives. There are 2 other 4D apps, and they were both propelled to top 50! </p>
<p>Surprisingly, my downloads remain the same. That means my downloads are constantly contributed by new users, and is unaffected by the bug.</p>
<h3>Lesson 4: Test, test, test!</h3>
<p>Remember to test during software upgrade, even when it comes from Google!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.just2us.com/2011/09/lessons-learnt-from-sg-4d-server-glitch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Play! Framework + App Engine Tutorial</title>
		<link>http://blog.just2us.com/2011/07/play-framework-app-engine-tutorial/</link>
		<comments>http://blog.just2us.com/2011/07/play-framework-app-engine-tutorial/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 02:30:00 +0000</pubDate>
		<dc:creator>samwize</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[AppEngine]]></category>

		<guid isPermaLink="false">http://blog.just2us.com/2011/07/play-framework-app-engine-tutorial/</guid>
		<description><![CDATA[
			
				
			
		
This is a tutorial: creating a barebone Play! app and deploying on the free Google App Engine. 
    
Steps to setting up Play! with App Engine
1. Download Play framework (latest is 1.2.1)
2. Unzip and add path 
export PATH=$PATH:/YOURPATH/play-1.2.1

3. Install GAE module (latest is 1.4)
play install gae 

4. Install siena module (latest is [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.just2us.com%2F2011%2F07%2Fplay-framework-app-engine-tutorial%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.just2us.com%2F2011%2F07%2Fplay-framework-app-engine-tutorial%2F&amp;source=samwize&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a tutorial: creating a barebone <a href="http://www.playframework.org/">Play! app</a> and deploying on the free <a href="http://code.google.com/appengine/">Google App Engine</a>. </p>
<p align="center"><img src="http://millad.net/img/playframework.png" width="206" height="64" />    <br /><img src="http://photos2.meetupstatic.com/photos/event/5/4/5/8/600_8721592.jpeg" width="205" height="225" /></p>
<h2>Steps to setting up Play! with App Engine</h2>
<p>1. <a href="http://www.playframework.org/download">Download Play framework</a> (latest is 1.2.1)</p>
<p>2. Unzip and add path </p>
<blockquote><p>export PATH=$PATH:/YOURPATH/play-1.2.1</p>
</blockquote>
<p>3. <a href="http://www.playframework.org/modules/gae">Install GAE module</a> (latest is 1.4)</p>
<blockquote><p>play install gae </p>
</blockquote>
<p>4. <a href="http://www.playframework.org/modules/siena">Install siena module</a> (latest is 1.5)</p>
<blockquote><p>play install siena </p>
</blockquote>
<p>5. Edit /YOURAPP/conf/dependencies.yml</p>
<blockquote><p>require:     <br />&#160;&#160;&#160; &#8211; play      <br />&#160;&#160;&#160; &#8211; play -&gt; gae 1.4      <br />&#160;&#160;&#160; &#8211; play -&gt; siena 1.5</p>
</blockquote>
<p>6. Add to conf/application.conf</p>
<blockquote><p># &#8212;- Google app engine module &#8212;-     <br />module.gae=${play.path}/modules/gae-1.4      <br /># &#8212;- Siena module &#8212;-      <br />module.siena=${play.path}/modules/siena-1.5      </p>
</blockquote>
<p>7. Restart your app. GAE will start and a /war will be created</p>
<p>8. Edit /war/WEB-INF/appengine-web.xml and enter your appengine appid</p>
<p>9. Deploy</p>
<blockquote><p>play war MyFirstApp -o MyFirstApp-War     <br />/Applications/eclipse/plugins/appengine-java-sdk-1.5.0/bin/appcfg.sh update MyFirstApp-War/</p>
</blockquote>
<p>Go to <a href="http://yourapp.appspot.com">http://yourapp.appspot.com</a>, and it should run!</p>
<p>Note: This tutorial is only a basic to getting a barebone Play! app to run on Google’s App Engine. Developing a Play! app on App Engine still require your effort. Here is an <a href="http://viralpatel.net/blogs/2011/01/first-play-framework-gae-siena-application-tutorial-example.html">Easy Bookmark example</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.just2us.com/2011/07/play-framework-app-engine-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SG 4D &#8211; Mobile website for all phones</title>
		<link>http://blog.just2us.com/2010/01/sg-4d-mobile-website-for-all-phones/</link>
		<comments>http://blog.just2us.com/2010/01/sg-4d-mobile-website-for-all-phones/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 16:21:02 +0000</pubDate>
		<dc:creator>samwize</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[AppEngine]]></category>
		<category><![CDATA[SG 4D]]></category>

		<guid isPermaLink="false">http://just2us.com/2010/01/sg-4d-mobile-website-for-all-phones/</guid>
		<description><![CDATA[
			
				
			
		
This is a little secret. I have created a mobile website for 4D results at http://sg4d.just2us.com/
There is nothing special about it, other than that it was built with Google’s App Engine. Running on Google’s infrastructure and servers has its bonuses – Google ensures stability, performance and scalability.

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.just2us.com%2F2010%2F01%2Fsg-4d-mobile-website-for-all-phones%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.just2us.com%2F2010%2F01%2Fsg-4d-mobile-website-for-all-phones%2F&amp;source=samwize&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a little secret. I have created a mobile website for 4D results at <a title="http://sg4d.just2us.com/" href="http://sg4d.just2us.com/">http://sg4d.just2us.com/</a></p>
<p>There is nothing special about it, other than that it was built with <a href="http://code.google.com/appengine/">Google’s App Engine</a>. Running on Google’s infrastructure and servers has its bonuses – Google ensures stability, performance and scalability.</p>
<p align="center"><a href="http://sg4d.just2us.com/"><img title="sgresult 4d" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="484" alt="sgresult 4d" src="http://just2us.com/site/wp-content/uploads/2010/01/sgresult4d.png" width="243" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.just2us.com/2010/01/sg-4d-mobile-website-for-all-phones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

