Archive

Archive for June, 2009

Ride your RIA Vehicle using Google App Engine in a Cloud

Know your Engine:

GAE is running Java 6. However, there areĀ  number of limitations that have been imposed to constrain Java to fit the GAE model. GAE Java is based on the Java 2.4 Servlet API:

  • Once a request is sent to the client no further processing can be done. This includes data streaming.
  • A request will be terminated if it has taken around 30 seconds without completing. At this point an exception is thrown. If not caught a 500 error is returned to the user.

Moving up the stack are several sandbox restrictions:

  • Applications can not write to the file system and must use the App Engine datastore instead.
  • Applications may not open sockets
  • Applications can not create their own threads or use related utilities such as timer.

java.lang.System has been restricted as follows:

  • exit(), gc(), runFinalization(), and runFinalizersOnExit() do nothing.
  • JNI access is not allowed.

Choose your RIA Vehicle(FLEX/BLAZEDS/JAVA):

Aravind Kopparthi.


Categories: Google App Engine
Follow

Get every new post delivered to your Inbox.