Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
App Engine bietet Ihnen für Java-Anwendungen zwei verschiedene Umgebungen: die Standardumgebung und die flexible Umgebung. Beide Umgebungen bieten denselben codezentrierten Entwicklerworkflow, können schnell und effizient skaliert werden, um die steigende Nachfrage zu bewältigen, und ermöglichen die Verwendung der bewährten Bereitstellungstechnologie von Google, um Ihre Web-, Mobil- und IoT-Anwendungen schnell und mit minimalem operativen Aufwand zu erstellen. Die verfügbaren Umgebungen haben zwar viel gemeinsam, sie unterscheiden sich aber auch in einigen wichtigen Punkten.
Bevorzugte Umgebung auswählen
Standardumgebung
Optimiert für die praktisch sofortige Skalierung, um große Traffic-Spitzen zu bewältigen.
Am kosteneffizientesten für Anwendungen, die über längere Zeitspannen keinen Traffic bereitstellen.
OpenJDK-basierte Java-Laufzeit unterstützt die standardmäßige öffentliche Java-Bibliothek.
Es wird kein Sicherheitsmanager erzwungen – Code wird nicht durch Java-Berechtigungsprobleme eingeschränkt.
Verwendung von Frameworks, Bibliotheken oder Binärdateien Ihrer Wahl.
Code kann überall dorthin portiert werden, wo Docker-Container unterstützt werden.
Am kosteneffizientesten für Anwendungen, die kontinuierlich Traffic bereitstellen.
Kein kostenloses Kontingent. Anwendung hat immer eine minimale Anzahl von laufenden Instanzen.
Am kosteneffizientesten für Anwendungen, die kontinuierlich Traffic bereitstellen.
Eine App Engine-Anwendung kann in zwei Umgebungen ausgeführt werden: in der Standardumgebung und in der flexiblen Umgebung. Sehen Sie sich eine Zusammenfassung der Unterschiede zwischen den beiden Umgebungen an.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","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,["# Java on Google App Engine\n\nApp 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. \n\nChoose your preferred environment\n---------------------------------\n\n### Standard environment\n\n- Optimized to scale nearly instantaneously to handle huge traffic spikes.\n\n- Most cost-effective for applications that have significant periods where they\n are not serving traffic.\n\n- OpenJDK based Java runtime supports the standard public Java library.\n\n- Doesn't impose a security manager--your code won't be restricted by Java\n permissions issues.\n\n- [Free tier](/appengine/pricing).\n\n- Ubuntu OS\n\n- The Java 8 runtime is [no longer supported](/appengine/docs/standard/lifecycle/support-schedule#java).\n\n[View Docs](/appengine/docs/standard/java-gen2/runtime) \n\n### Flexible environment\n\n- Full [open source](http://github.com/GoogleCloudPlatform/) language runtimes.\n\n- Use any framework, library, or binary of your choice.\n\n- Code is portable to anywhere that supports Docker containers.\n\n- Most cost-effective for applications that serve traffic continuously.\n\n- No free tier. Application always has a minimum number of running instances.\n Most cost-effective for applications that serve traffic continuously.\n\n- Ubuntu OS\n\n[View docs](/appengine/docs/flexible/java/dev-jetty9) \n\nChoosing an environment\n-----------------------\n\nYou 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.\n[Learn more](/appengine/docs/the-appengine-environments)"]]