Can I use facelets in a Google App Engine application?

I would like to know a little more about faces. Now that Java is a supported Google application language, is there anything in the facelets implementation that will prevent use in the App Engine?

Edit: This page on google now has a list of various frameworks and their status regarding App Engine.

+3
source share
2 answers

JSF 1.2 did not work - because by default it would try to spawn threads. This is not allowed in GAE.

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

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

com.sun.faces.enableMultiThreadedStartup, whose default value is true. When deployed to GAE, this parameter must be set to false.

+3
source

I have not tried, but I do not think it would be any different than using Struts or Spring. As long as you can deploy all the JARs you need in your WAR, it should work.

The only question is whether JPA or JDO is enough. If facelets require any other persistence mechanism, you may have a problem.

JMS , , , .

? 10 000 ?

+2

Source: https://habr.com/ru/post/1706153/


All Articles