Stay organized with collections Save and categorize content based on your preferences.
App Engine offers you a choice between two environments for Java applications: standard environment and flexible environment. Both environments have the same code-centric developer workflow, scale quickly and efficiently to handle increasing demand, and enable you to use Google’s proven serving technology to build your web, mobile, and IoT applications quickly and with minimal operational overhead. While the available environments have a lot in common, they differ in a few important ways.
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 they are 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 Java permissions issues.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["\u003cp\u003eApp Engine provides two environments for Java applications: standard and flexible, both offering rapid scaling and efficient handling of traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe standard environment is optimized for handling traffic spikes and is most cost-effective for applications with periods of inactivity, featuring a free tier and an OpenJDK-based Java runtime.\u003c/p\u003e\n"],["\u003cp\u003eThe flexible environment allows for the use of any framework, library, or binary, with code portability through Docker containers, and is best for applications with continuous traffic, though it lacks a free tier.\u003c/p\u003e\n"],["\u003cp\u003eWhile both environments are Ubuntu OS-based, they differ in their cost structures, runtime restrictions, and suitability for different traffic patterns.\u003c/p\u003e\n"],["\u003cp\u003eThe Java 8 runtime in the standard environment is no longer supported, and more details are available in the official documentation.\u003c/p\u003e\n"]]],[],null,[]]