[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eThis guide helps you get started with App Engine by walking you through the basics of deploying and managing an app.\u003c/p\u003e\n"],["\u003cp\u003eThe tasks provided will guide you through the development process, building up to a simple web app, using App Engine.\u003c/p\u003e\n"],["\u003cp\u003eYou will learn how to create a Google Cloud project to hold your App Engine app's resources.\u003c/p\u003e\n"],["\u003cp\u003eYou will also learn to write a Java web server, declare runtime settings, and deploy your Java code on App Engine.\u003c/p\u003e\n"],["\u003cp\u003eRunning the sample app will not exceed the free quotas.\u003c/p\u003e\n"]]],[],null,["# Build a Java app on App Engine\n\n\u003cbr /\u003e\n\n| **Note:** If you are deploying a new Java web service to Google Cloud, we recommend getting started with [Cloud Run](/run/docs/quickstarts/build-and-deploy/deploy-java-service).\n\nThis guide helps you get started with App Engine and become familiar with\ndeploying and managing an app. The tasks on this page walk you through the\nbasics of App Engine, guiding you through the development process.\nEach task includes steps that build up to a simple web app. After you build\nyour app, you can use the other tutorials to learn how to integrate with other\nGoogle Cloud services and add more features to your app.\n\nCosts\n-----\n\nRunning this sample app alone does not exceed the free quotas.\n| **Note:** You can't delete the default app.\n\nGetting started\n---------------\n\nLearn how to build a simple web app and deploy it on App Engine:\n\n1. **[Create a Google Cloud project](/appengine/docs/standard/java-gen2/building-app/creating-project)**\n\n Learn how to create a Google Cloud project to hold your App Engine app's\n resources.\n2. **[Write a web service with Java](/appengine/docs/standard/java-gen2/building-app/writing-web-service)**\n\n Learn how to write a web server and declare runtime settings.\n3. **[Deploy your service on App Engine](/appengine/docs/standard/java-gen2/building-app/deploying-web-service)**\n\n Learn how to deploy your Java code on App Engine and view your\n live web service."]]