Mar
10
Hi,
As you know yesterday Google enabled Java as the second language on Google App.
I registered to the test version and I want to try to run JSF…I started with Jsf 1.1 and it worked perfectly!!
I tried the JSF example that come with JBoss Tools, try it at:
http://2.latest.demetrio81280.appspot.com/pages/inputUserName.jsf
If you want to try it, these are the simple steps:
- Register to Google App (they says just 10000 ppl initially!)
- Download and install Google App plugin for Eclipse
- Create a Google App project with Eclipse
- Create a JSF 1.1 project using the template using JBoss Tools Eclipse plugin (or make your own JSF demo)
- Copy all the libraries of the JSF demo into the war/WEB-INF/lib/ directory of Google App project
- Copy the src java file of the JSF demo into the src directory of Google App project
- Copy the WebContent java file of the JSF demo into the war directory of Google App project
- Add this string:
<sessions-enabled>true</sessions-enabled>
on the appengine-web.xml file to enable the session - If you used the JSF 1.1 JBoss Tools template you have to make the User bean serializable just adding implements Serializable to the User class
Done! You can now deploy and test it!!
When I’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’ll see!
)
UPDATE: Facelets works perfectly in JSF 1.1, JSF 1.2 has a problem during startup (see here)
Demetrio