Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
App Engine ti offre la possibilità di scegliere tra due ambienti per le applicazioni Java: l'ambiente standard e l'ambiente flessibile. Entrambi gli ambienti hanno lo stesso flusso di lavoro per sviluppatori incentrato sul codice, scalano rapidamente ed efficientemente per gestire la crescente domanda e ti consentono di utilizzare la tecnologia di pubblicazione comprovata di Google per creare le tue applicazioni web, mobile e IoT in modo rapido e con un overhead operativo minimo. Sebbene gli ambienti disponibili abbiano molti aspetti in comune,
differiscono in alcuni aspetti importanti.
Scegliere l'ambiente che preferisci
Ambiente standard
Ottimizzato per scalare quasi istantaneamente per gestire picchi di traffico elevati.
La soluzione più conveniente per le applicazioni che non gestiscono traffico per periodi di tempo significativi.
Il runtime Java basato su OpenJDK supporta la libreria Java pubblica standard.
Non impone un gestore della sicurezza: il tuo codice non sarà limitato da problemi di autorizzazioni Java.
Utilizza qualsiasi framework, libreria o programma binario a tua scelta.
Il codice è portatile ovunque supporti i container Docker.
La soluzione più conveniente per le applicazioni che gestiscono il traffico in modo continuo.
Nessun livello gratuito. L'applicazione ha sempre un numero minimo di istanze in esecuzione.
La soluzione più conveniente per le applicazioni che gestiscono il traffico in modo continuo.
Puoi eseguire un'applicazione App Engine in due ambienti: l'ambiente standard e l'ambiente flessibile. Visualizza un riepilogo
delle differenze tra i due ambienti.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","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)"]]