<?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>demetrio.it blog &#187; google app</title>
	<atom:link href="http://blog.demetrio.it/tag/google-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.demetrio.it</link>
	<description>nessun limite all'immaginazione</description>
	<lastBuildDate>Thu, 15 Jul 2010 15:42:55 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Deploying a JSF 1.1 app (+ Facelets) on Google App</title>
		<link>http://blog.demetrio.it/2009/03/10/deploying-a-jsf-11-app-on-google-app/</link>
		<comments>http://blog.demetrio.it/2009/03/10/deploying-a-jsf-11-app-on-google-app/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 12:44:09 +0000</pubDate>
		<dc:creator>Demetrio Filocamo</dc:creator>
				<category><![CDATA[londra]]></category>
		<category><![CDATA[facelets]]></category>
		<category><![CDATA[google app]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsf]]></category>

		<guid isPermaLink="false">http://blog.demetrio.it/?p=121</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>As you know yesterday Google enabled Java as the second language on Google App.</p>
<p>I registered to the test version and I want to try to run JSF&#8230;I started with Jsf 1.1 and it worked perfectly!!</p>
<p>I tried the JSF example that come with JBoss Tools, try it at:</p>
<p><a href="http://2.latest.demetrio81280.appspot.com/pages/inputUserName.jsf" target="_blank">http://2.latest.demetrio81280.appspot.com/pages/inputUserName.jsf</a></p>
<p>If you want to try it, these are the simple steps:</p>
<ol>
<li>Register to <a href="http://code.google.com/intl/it-IT/appengine/" target="_blank">Google App</a> (they says just 10000 ppl initially!)</li>
<li>Download and install <a href="http://code.google.com/intl/it-IT/appengine/downloads.html#Download_the_Google_Plugin_for_Eclipse" target="_blank">Google App plugin for Eclipse</a></li>
<li>Create a Google App project with Eclipse</li>
<li>Create a JSF 1.1 project using the template using JBoss Tools Eclipse plugin (or make your own JSF demo)</li>
<li>Copy all the libraries of the JSF demo into the war/WEB-INF/lib/ directory of Google App project</li>
<li>Copy the src java file of the JSF demo into the src directory of Google App project</li>
<li>Copy the WebContent java file of the JSF demo into the war directory of Google App project</li>
<li>Add this string:<br />
<strong>&lt;sessions-enabled&gt;true&lt;/sessions-enabled&gt;</strong><br />
on the appengine-web.xml file to enable the session</li>
<li>If you used the JSF 1.1 JBoss Tools template you have to make the User bean serializable just adding <strong>implements Serializable</strong> to the User class</li>
</ol>
<p>Done! You can now deploy and test it!!</p>
<p>When I&#8217;ll have more time I want to try JSF 1.2 and RichFaces, I think there will be more problems trying to run JBoss Seam (we&#8217;ll see! <img src='http://blog.demetrio.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p><strong>UPDATE</strong>: Facelets works perfectly in JSF 1.1, JSF 1.2 has a problem during startup (see <a href="http://seamframework.org/Community/SeamGoogleAppEngine#comment71623" target="_blank">here</a>)</p>
<p>Demetrio</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.demetrio.it/2009/03/10/deploying-a-jsf-11-app-on-google-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
