Dec 13, 2017

Google App Engine Java 8 runtime features

The following is a partial list of the advantages of migrating to the Java 8 runtime:

  • Jetty 9 is now used and supports both Servlet 2.5 and 3.1 web applications including the use of servlet annotations.
  • There is no longer a java.lang.SecurityManager installed at startup, which means all Java standard classes are now available and there is no longer a whitelist.
  • The /tmp filesystem is writable - this comes out of the app's RAM allotment.
  • Network I/O can now be performed on any Java thread. App Engine API calls still require being on either a Request Thread or a thread created by the Thread Manager API.
  • The full Java 8 language is now supported including the Stream API, Lambdas, and Date / Time API.