Java on Google App Engine Stay organized with collections Save and categorize content based on your preferences.
Choose your preferred environment
Standard environment
Optimized to scale nearly instantaneously to handle huge traffic spikes.
Most cost-effective for applications that have significant periods where theyare not serving traffic.
OpenJDK based Java runtime supports the standard public Java library.
Doesn't impose a security manager--your code won't be restricted by Javapermissions issues.
Ubuntu OS
The Java 8 runtime isno longer supported.
Flexible environment
Fullopen source language runtimes.
Use any framework, library, or binary of your choice.
Code is portable to anywhere that supports Docker containers.
Most cost-effective for applications that serve traffic continuously.
No free tier. Application always has a minimum number of running instances.Most cost-effective for applications that serve traffic continuously.
Ubuntu OS
Choosing an environment
You can run an App Engine application in two environments, the standard environment and the flexible environment. See a summary of differences between the two environments.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.