<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Web, IPhone, and Other Stuff That Hoodbook Does</title>
	<atom:link href="http://hoodbook.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hoodbook.wordpress.com</link>
	<description>Exploring technologies such as Grails, JBoss Seam, and IPhone SDK 3.0</description>
	<lastBuildDate>Tue, 13 Oct 2009 20:47:51 +0000</lastBuildDate>
	<language>zh-cn</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hoodbook.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Web, IPhone, and Other Stuff That Hoodbook Does</title>
		<link>http://hoodbook.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hoodbook.wordpress.com/osd.xml" title="Web, IPhone, and Other Stuff That Hoodbook Does" />
	<atom:link rel='hub' href='http://hoodbook.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Into the Cloud &#8211; Migrating My Apache+JBoss+MySQL Applications to Amazon’s EC2, Part II</title>
		<link>http://hoodbook.wordpress.com/2009/10/13/into-the-cloud-migrating-my-apachejbossmysql-applications-to-amazon%e2%80%99s-ec2-part-ii/</link>
		<comments>http://hoodbook.wordpress.com/2009/10/13/into-the-cloud-migrating-my-apachejbossmysql-applications-to-amazon%e2%80%99s-ec2-part-ii/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 18:57:46 +0000</pubDate>
		<dc:creator>Sheldon Shi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ajp]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://hoodbook.wordpress.com/?p=47</guid>
		<description><![CDATA[(Continued from Part I) I started out with the Ubuntu 8.0.4 AMI, created an instance off it. Then I did three more things using Elasticfox (see manual for instructions): Got an Elastic IP and associated with my instance. An Elastic IP is a static IP for your EC2 account that can be associated and deassociated [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=47&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(<a href="http://hoodbook.wordpress.com/2009/10/09/into-the-cloud-migrating-hoodbooks-hosted-applications-to-amazons-ec2-part-i/">Continued from Part I</a>) I started out with the Ubuntu 8.0.4 AMI, created an instance off it. Then I did three more things using Elasticfox (see <a href="http://ec2-downloads.s3.amazonaws.com/elasticfox-owners-manual.pdf">manual </a>for instructions):</p>
<ol>
<li>Got an Elastic IP and associated with my instance. An Elastic IP is a static IP for your EC2 account that can be associated and deassociated with any instance in your account, at any time.</li>
<li>Configured the security group of the instance to only accept connections at port 80 from any machine, and port 22 (for SSH) from my own machine</li>
<li>I created an EBS and attached it to my instance. Be sure to create the EBS in the same availability zone as the instance, otherwise it cannot be attached.</li>
</ol>
<p>These two steps allowed the instance to be accessible from the internet but securely. The third step created a storage for application data to reside. While the last step wasn&#8217;t absolutely necessary, because the applications would run fine with data on the same instance, it would be nice to have data in a separate storage area that was easily backed up and able to connect to multiple instances.</p>
<p>The next steps were to install MySQL, JDK, JBoss, and Apache. I did in that order because the first three worked OOB while Apache required some configuration to work with JBoss.</p>
<p><span style="text-decoration:underline;">MySQL</span></p>
<p>I logged on to my instance using Putty, and followed step 4 and 5 of <a href="http://blog.peterdelahunty.com/2009/06/deploying-grails-app-on-ec2-in-from.html">this blog</a> verbatim without problems.</p>
<p><span style="text-decoration:underline;">JDK</span></p>
<p>Follow step 2 of <a href="http://blog.peterdelahunty.com/2009/06/deploying-grails-app-on-ec2-in-from.html">this blog</a> &#8211; no problems. I used a newer update of JDK 6.</p>
<p><span style="text-decoration:underline;">JBoss</span></p>
<p>JBoss download page is <a href="http://www.jboss.org/jbossas/downloads/">here</a>. I downloaded the exact version (*.zip) I was using before, using wget. Copied it to /usr/local and unzip. Of course the server would say unzip wasn&#8217;t installed. So install unzip using</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">sudo apt-get install unzip</pre>
<p>I created a soft link /usr/local/jboss to the installed jboss directory. Since it was a good practice to run JBoss not as root, I created a new user jboss, and changed the ownership of the JBoss installation:</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">sudo groupadd jboss
sudo useradd -g jboss jboss
chown -R jboss:jboss [JBOSS INSTALLATION DIRECTORY]</pre>
<p>Now add Java to jboss user&#8217;s PATH by adding these lines to /home/jboss/.profile file (when installing JDK I already created the soft link /usr/local/java pointing to the JDK home directory):</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">#add java home in path
export JAVA_HOME=/usr/local/java
PATH=$JAVA_HOME/bin:$PATH</pre>
<p>To ensure JBoss to start on reboot, I installed found this simple script off the net and put it in file /etc/init.d/jboss</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">#! /bin/sh

start(){
 echo "Starting jboss.."
 su -l jboss -c '/usr/local/jboss/bin/run.sh &gt; /dev/null 2&gt; /dev/null &amp;'
}

stop(){
 echo "Stopping jboss.."
 su -l jboss -c '/usr/local/jboss/bin/shutdown.sh -S &amp;'
}

restart(){
 stop
# give stuff some time to stop before we restart
 sleep 60
# protect against any services that can't stop before we restart (warning this k
ills all Java instances running as 'jboss' user)
 su -l jboss -c 'killall java'
# if the 'su -l ...' command fails try:
 #   sudo -u jboss killall java
 start
}

case "$1" in
 start)
 start
 ;;
 stop)
 stop
 ;;
 restart)
 restart
 ;;
 *)
 echo "Usage: jboss {start|stop|restart}"
 exit 1
esac

exit 0</pre>
<p>and installed the startup script:</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">
<pre>update-rc.d jboss defaults</pre>
</pre>
<p>Now it was time to startup JBoss:</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">
<pre>
<pre>/etc/init.d/jboss start</pre>
</pre>
</pre>
<p>Voila! The JBoss was up and running. I could verify that by</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">
<pre>
<pre>wget http://localhost:8080/</pre>
</pre>
</pre>
<p>It downloaded the default JBoss index.html page into the current directory. Of course I could also verify it using a browser if I opened up port 8080 in the security group.</p>
<p><span style="text-decoration:underline;">Apache</span></p>
<p>Installing Apache was easy</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">
<pre>
<pre>sudo apt-get install apache</pre>
</pre>
</pre>
<p>I was previously using Apache 2.0.x and mod_jk to connect to JBoss. The new Apache installation was 2.2.x and came with mod_proxy_ajp, so it took me fair amount of time to find all the details on the web. But once it wasn&#8217;t that bad, it wasn&#8217;t that bad at all.</p>
<p>I could first verify Apache was working by pointing my browser to the IP address of my instance. &#8220;It Works!&#8221; That is reassuing.</p>
<p>To integrate with JBoss I enabled mod_proxy_ajp</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;"><code>sudo a2enmod proxy_ajp</code></pre>
<p>Then I created a new configuration file for my instance:</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;"><code>sudo vi /etc/apache2/sites-available/mysite</code></pre>
<p>In this file I added these lines:</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/</pre>
<p>After restarting Apache I found a 403 error in my browser. It turned out the configuration for mod_proxy_ajp, /etc/apache2/mods-enabled/proxy.conf, the default is Deny From All</p>
<pre style="border:1px dashed #999999;overflow:auto;font-family:Andale Mono,Lucida Console,Monaco,fixed,monospace;color:#000000;background-color:#eeeeee;font-size:12px;line-height:14px;width:100%;padding:5px;">&lt;Proxy *&gt;
 AddDefaultCharset off
 Order deny,allow
 Deny from all
&lt;/Proxy&gt;</pre>
<p>It needed to be changed to allow connections to passed through. I simply changed it to &#8220;Allow from all&#8221; because I was using EC2&#8242;s security group to control the overall accessibility from the outside world.</p>
<p>After this change and restarting Apache, the browswer showed JBoss&#8217;s default web page. It worked!</p>
<p><span style="text-decoration:underline;">One Last Problem</span></p>
<p>Now I got the basic configuration to work, I still faced one more problem. The Apache+JBoss configuration only worked if I restarted Apache after every JBoss restart. If I restarted JBoss without an Apache restart, I got &#8220;Service Temporarily Unavailable&#8221; error. That was not how it used to work on my hosted server.</p>
<br />Posted in Technology Tagged: ajp, Amazon EC2, Apache, JBoss, mod_proxy, MySQL, Ubuntu <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hoodbook.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hoodbook.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hoodbook.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hoodbook.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hoodbook.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hoodbook.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hoodbook.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hoodbook.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=47&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hoodbook.wordpress.com/2009/10/13/into-the-cloud-migrating-my-apachejbossmysql-applications-to-amazon%e2%80%99s-ec2-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a239b43c3f74efbd106d7925124a070d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hoodbook</media:title>
		</media:content>
	</item>
		<item>
		<title>Into the Cloud &#8211; Migrating My Apache+JBoss+MySQL Applications to Amazon&#8217;s EC2, Part I</title>
		<link>http://hoodbook.wordpress.com/2009/10/09/into-the-cloud-migrating-hoodbooks-hosted-applications-to-amazons-ec2-part-i/</link>
		<comments>http://hoodbook.wordpress.com/2009/10/09/into-the-cloud-migrating-hoodbooks-hosted-applications-to-amazons-ec2-part-i/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 02:19:49 +0000</pubDate>
		<dc:creator>Sheldon Shi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ajp]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[mod_proxy]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://hoodbook.wordpress.com/?p=33</guid>
		<description><![CDATA[Hoodbook has a few applications running on a dedicated server that is hosted for a couple of hundred dollars a month.  The server has nothing fancy, just a plain Apache+JBoss+MySQL configuration, with RAID and an offsite backup facility.  Applications were written using JBoss Seam + JSF applications. I have thought about migrating the apps to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=33&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a onclick="return mugicPopWin(this,event);" oncontextmenu="mugicRightClick(this);" href="http://aws.amazon.com/"><img class="alignright" title="Amazon EC2 and EBS" src="http://media.amazonwebservices.com/logo_aws.gif" alt="" width="164" height="60" /></a>Hoodbook has a few applications running on a dedicated server that is hosted for a couple of hundred dollars a month.  The server has nothing fancy, just a plain Apache+JBoss+MySQL configuration, with RAID and an offsite backup facility.  Applications were written using JBoss Seam + JSF applications. I have thought about migrating the apps to Amazon EC2 for a while. Now I finally got time to do it.</p>
<p>The main drives for the migration are two-folds: (1) Lower the cost. These applications do not have tons of traffic. The server is three years old, and severely under-utilized. We are paying way over what we get. (2) Step into the future. The future is cloud computing. It is scalable, on-demand, with low overhead. You probably cannot find a more scalable, more reliable hosting solution than Amazon&#8217;s EC2. If it is good enough for Twitter, it is good enough for any generic web application.</p>
<p>I have looked into EC2 on and off before but now I believe the time can&#8217;t be more ripe for a migration, because of large numbers of how-to documentation online and the availability of Amazon EBS (Elastic Block Storage). Amazon EBS has lower latency than Amazon S3, and is a natural storage extension of EC2 (for a tutorial on their differences, check out <a href="http://www.cloudiquity.com/2009/03/differences-between-s3-and-ebs/">this</a>) &#8211; best suited for MySQL data. EBS does not have reduncy, so some kind of reduncy has to be built by users. But a quick and dirty solution is to have snapshot of EBS stored to S3.</p>
<p>First, I followed the pre-requisite steps in <a href="http://blog.peterdelahunty.com/2009/06/deploying-grails-app-on-ec2-in-from.html">this blog</a>. I signed up for Amazon EC2 web service, and installed Firefox EC2 plugin <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=609">Elasticfox</a>. Elasticfox makes managing EC2 instances super easy. I configured Elasticfox with my EC2 account credentials, following Tutorial #1 in <a href="http://ec2-downloads.s3.amazonaws.com/elasticfox-owners-manual.pdf">Elasticfox&#8217;s manual</a>. The only hiccup I had is at Step 4 &#8211; Connecting to the Instance. I had trouble connecting to my EC2 instance from putty using the keypair I generated. Whenever I tried to connect, the instance prompted me for root password. It turned out I needed to run Puttygen to convert the generated keypair file (*.pem) into a Putty-recognized key file (*.ppk). Then everything was cool.</p>
<p>In the process I needed to select an Amazon Machine Image (AMI) to launch my EC2 instance. Natually I searched for Apache+JBoss+MySQL images, and I found one: <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1523">ami-4ea34727</a>. Upon installing it, however, I found it was built on an older version if Ubuntu, 7.10 Gutsy, which was no longer supported. Installing Postfix on the instance, for example, generated errors of unfound urls. That makes the image not usable for my applications. I then investigated upgrading 7.10 to 8.0.4 Hardy which <a href="https://wiki.ubuntu.com/Releases">will be supported until 2013</a>, but <a href="https://help.ubuntu.com/community/EOLUpgrades/Gutsy">upgrading from Gutsy to Hardy</a> seemed to have its own quirks.</p>
<p>Finally, I decided to start with an AMI of Ubuntu 8.0.4 (for all Ubuntu images, look <a href="http://alestic.com/">here</a>), and build everything from there. It should be an interesting learning experience.</p>
<br />Posted in Technology Tagged: ajp, Amazon EC2, Apache, JBoss, mod_proxy, MySQL, Ubuntu <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hoodbook.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hoodbook.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hoodbook.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hoodbook.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hoodbook.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hoodbook.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hoodbook.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hoodbook.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=33&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hoodbook.wordpress.com/2009/10/09/into-the-cloud-migrating-hoodbooks-hosted-applications-to-amazons-ec2-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a239b43c3f74efbd106d7925124a070d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hoodbook</media:title>
		</media:content>

		<media:content url="http://media.amazonwebservices.com/logo_aws.gif" medium="image">
			<media:title type="html">Amazon EC2 and EBS</media:title>
		</media:content>
	</item>
		<item>
		<title>Listen to the Same Speech Twice in A Day</title>
		<link>http://hoodbook.wordpress.com/2009/10/07/listen-to-the-same-speech-twice-in-a-day/</link>
		<comments>http://hoodbook.wordpress.com/2009/10/07/listen-to-the-same-speech-twice-in-a-day/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 15:36:51 +0000</pubDate>
		<dc:creator>Sheldon Shi</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Internet in China]]></category>
		<category><![CDATA[Kaifu Lee]]></category>

		<guid isPermaLink="false">http://hoodbook.wordpress.com/?p=12</guid>
		<description><![CDATA[I don&#8217;t believe I have ever done this before: I went to the same speech twice in a day. Dr. Kaifu Lee (李开复), the former head of Google China, visited the Silicon Valley last Friday. He gave the keynote at the A(sian)A(merican)M(ulti-Tech)A(ssociation) Annual Conference in the morning, and then gave the same speech (albeit in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=12&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t believe I have ever done this before: I went to the same speech twice in a day. Dr. Kaifu Lee (李开复), the former hea<img class="alignright size-thumbnail wp-image-25" title="Dr. Kaifu Lee (李开复)" src="http://hoodbook.files.wordpress.com/2009/10/kaifulee12.jpg?w=142&#038;h=150" alt="Dr. Kaifu Lee (李开复)" width="142" height="150" />d of Google China, visited the Silicon Valley last Friday. He gave the keynote at the A(sian)A(merican)M(ulti-Tech)A(ssociation) Annual Conference in the morning, and then gave the same speech (albeit in a less formal setting and more Q&amp;A) at Stanford in the afternoon. Eric and I were at the AAMA conference at Computer History Museum in Mountain View. Later that day, we felt bored with the meeting. So we decided to drive to Stanford and listen to Kaifu Lee&#8217;s talk again. Both speeches were excellent, insightful and well worth the time we spent.</p>
<p>As the former head of Google China, Kaifu knows something about the internet in China that most of the people in the world don&#8217;t. I was lucky to hear him sharing his insights. The four area he identified, as the next big (internet) things in China:</p>
<ul>
<li>E-Commerce. 50x potential if China were to reach the same E-Commerce penetration level as U.S. now (in terms of percentage of internet user and per user spending). As E-Commerce takes off, so will online advertising (which is only 1/10 of U.S. currently)</li>
<li>Mobile internet. 600M mobile users, and 150M mobile internet users. The potential is huge given that smart phones are getting smarter, more wide-spread and many Chinese mobile internet users don&#8217;t even own a computer (think of those migrant workers)</li>
<li>Cloud computing, Software as a Service. Because of the piracy, there is no traditional software industry in China. But Software as a Service in the Cloud will definitely be the way to go. An early proof is China&#8217;s online gaming market, which is at the forefront of the world in terms of business success. Online gaming will continue to grow, but so will other services in the cloud.</li>
<li>P2P is leading the world in technical maturity because of the absence of legal issues</li>
</ul>
<p>These are the four main prospects Dr. Lee highlighted, and his new incubator company Innovation Works will focus on. I have to wholehearted agree. Mobile internet and online advertising, are something Hoodbook has been trying to do in China for the last year. Many proven business models in U.S. can be readily transported to China, with more focus on mobile experience and localized UI.</p>
<p>Euwyn Poon has <a href="http://euwyn.com/2009/10/03/kai-fu-lee-on-the-internet-in-china/">some details of the talk at his blog http://euwyn.com</a></p>
<br />Posted in China, Other Tagged: Internet in China, Kaifu Lee <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hoodbook.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hoodbook.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hoodbook.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hoodbook.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hoodbook.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hoodbook.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hoodbook.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hoodbook.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=12&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hoodbook.wordpress.com/2009/10/07/listen-to-the-same-speech-twice-in-a-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a239b43c3f74efbd106d7925124a070d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hoodbook</media:title>
		</media:content>

		<media:content url="http://hoodbook.files.wordpress.com/2009/10/kaifulee12.jpg?w=142" medium="image">
			<media:title type="html">Dr. Kaifu Lee (李开复)</media:title>
		</media:content>
	</item>
		<item>
		<title>PKUAANC EnE (Entrepreneur and Executive) Club Mixer</title>
		<link>http://hoodbook.wordpress.com/2009/09/19/pkuaanc-ene-entrepreneur-and-executive-club-mixer/</link>
		<comments>http://hoodbook.wordpress.com/2009/09/19/pkuaanc-ene-entrepreneur-and-executive-club-mixer/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 02:11:14 +0000</pubDate>
		<dc:creator>Sheldon Shi</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://hoodbook.wordpress.com/?p=7</guid>
		<description><![CDATA[Just got back from the first PKUAANC EnE mixer. It was a BBQ event near a park, surrounded by a beautiful and upscale apartment complex in San Jose. I should have taken a camera. I got to meet two dozen people, mostly Peking University Alum. A few of them share similar interests with me on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=7&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just got back from the first <a href="http://www.pkualumni.org/">PKUAANC </a>EnE mixer. It was a BBQ event near a park, surrounded by a beautiful and upscale apartment complex in San Jose. I should have taken a camera. I got to meet two dozen people, mostly Peking University Alum. A few of them share similar interests with me on mobile phone apps. A good meet, and definitely worth taking the EOS for a topless ride.</p>
<br />Posted in Other  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hoodbook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hoodbook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hoodbook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hoodbook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hoodbook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hoodbook.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hoodbook.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hoodbook.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=7&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hoodbook.wordpress.com/2009/09/19/pkuaanc-ene-entrepreneur-and-executive-club-mixer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a239b43c3f74efbd106d7925124a070d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hoodbook</media:title>
		</media:content>
	</item>
		<item>
		<title>Two Year Anniversary of Hoodbook</title>
		<link>http://hoodbook.wordpress.com/2009/09/17/two-year-anniversary-of-hoodbook/</link>
		<comments>http://hoodbook.wordpress.com/2009/09/17/two-year-anniversary-of-hoodbook/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 01:50:00 +0000</pubDate>
		<dc:creator>Sheldon Shi</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://hoodbook.wordpress.com/?p=4</guid>
		<description><![CDATA[Hoodbook has been in business for two years. Like a two-year old baby, we are still exploring, and growing, too. We have experienced with some of the newer technology platforms, Seams, Grails, and most recently the IPhone application platform. Eric and I, the two founders of the company, each made a few trips back to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=4&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hoodbook.com"><img class="alignright size-thumbnail wp-image-42" title="Hoodbook, Grails, JBoss Seam" src="http://hoodbook.files.wordpress.com/2009/09/logo_hoodbook.png?w=150&#038;h=45" alt="Hoodbook, Grails, JBoss Seam" width="150" height="45" />Hoodbook </a>has been in business for two years. Like a two-year old baby, we are still exploring, and growing, too. We have experienced with some of the newer technology platforms, Seams, Grails, and most recently the IPhone application platform. Eric and I, the two founders of the company, each made a few trips back to China to explore business opportunities. This blog is intended to share some of our experiences, mostly on technology but also other random events.</p>
<br />Posted in Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hoodbook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hoodbook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hoodbook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hoodbook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hoodbook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hoodbook.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hoodbook.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hoodbook.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hoodbook.wordpress.com&amp;blog=9539546&amp;post=4&amp;subd=hoodbook&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hoodbook.wordpress.com/2009/09/17/two-year-anniversary-of-hoodbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a239b43c3f74efbd106d7925124a070d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hoodbook</media:title>
		</media:content>

		<media:content url="http://hoodbook.files.wordpress.com/2009/09/logo_hoodbook.png?w=150" medium="image">
			<media:title type="html">Hoodbook, Grails, JBoss Seam</media:title>
		</media:content>
	</item>
	</channel>
</rss>
