Google AppEngine for Java Announced
Today is a great day while Google announced the Java version of AppEngine.
The first thing to keep in mind is the security sandbox on the AppEngine server. And obviously it would be the challenge for many Java frameworks to run on AppEngine server out-of-the-box.
After having a brief run, here are something I found:
- SiteMesh cannot work since it called javax.naming.InitialContext somewhere.
- Stripes cannot startup by default because the DefaultMultipartWrapperFactory delegate to somewhere called System.getProperty(“java.io.tmpdir”). By providing a empty implementation of MultipartWrapperFactory, this could be solved easily. (Without considering the multipart function really works, since the AppEngine sandbox locked the file writing).
- Freemarker works fine except there is an error on using JSP tags.
- Spring framework seems fine as far as I go.
Looks like most of the issues can be solved. But the local environment does not work as the sandbox on AppEngine server. This makes the debug harder and the cycle longer.