Question

I would like to do some more learning of facelets. Now that Java is a supported Google app engine language, is there anything in the facelets implementation that would prevent use on App Engine?

Edit: This page at google now has a list of various frameworks and their status in regards to App Engine.

Was it helpful?

Solution

The 1.2 version of JSF was not working - because by default it would try to spawn threads. That's not allowed in GAE.

This is fixed in the latest version of JSF 1.2 (build 13), as well as the 2.0 Beta 2 release - and you can download the latest versions from here: http://javaserverfaces.java.net/

You need to add the a context parameter to your web.xml:

com.sun.faces.enableMultiThreadedStartup which defaults to true. This option must be set to false when deploying to GAE.

OTHER TIPS

I haven't tried it, but I don't imagine it would be any different from using Struts or Spring. As long as you can deploy with all the JARs you need in your WAR it should work.

The only question is whether JPA or JDO are sufficient. If the facelets require any other persistence mechanism you might have a problem.

JMS isn't available either, so features that depend on it can't work.

Isn't the first access limited? First 10,000 get in?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top