Home > Architecture, Framework, Java, Programming, Technologies, Uncategorized, 技術 > Google AppEngine for Java Announced

Google AppEngine for Java Announced

April 9, 2009 (Thursday) Leave a comment Go to comments

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.

Advertisements
  1. dolphin
    April 9, 2009 (Thursday) at 23:44

    >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)

    I envisioned that problem when I first time saw GAE for java. Not big deal. A MultipartWrapper that writes uploaded file into store should solve the problem.

    I think that GWT + GAE is a more suitable fit.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: