Java 8 已达到支持终止期限,并将于 2026 年 1 月 31 日
弃用。弃用后,您将无法部署 Java 8 应用,即使您的组织之前曾使用组织政策重新启用旧版运行时的部署,也无法部署。现有的 Java 8 应用在
弃用日期之后将继续运行并接收流量。我们建议您
迁移到最新支持的 Java 版本。
Google App Engine Java 8 标准环境文档
App Engine 标准环境可让您轻松构建和部署应用,保证应用在繁重负载和大量数据下能可靠运行。您的应用在其自有的安全可靠的环境中运行,该环境与服务器的硬件、操作系统或物理位置无关。
了解详情
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
App Engine:Qwik Start - Java
了解 Google Cloud 的价值,以及如何将云端解决方案整合到您的业务策略中。
使用场景
使用场景
控制对网站和应用的访问权限
了解如何控制用户对企业 Web 资源的访问权限。
企业
BeyondCorp
身份验证
App Engine
代码示例
代码示例
App Engine 示例 - Hello World
此示例演示了如何使用 Java 在 App Engine 标准环境中构建 Hello World 应用。
代码示例
代码示例
App Engine 示例 - Cloud Datastore
此示例演示了如何通过 Java 在 App Engine 标准环境中使用 Cloud Datastore API。
代码示例
代码示例
Google Cloud API Showcase:适用于 Java 8 的 App Engine 标准环境中的 BigQuery 和 Cloud Monitoring
此示例演示了如何通过 Java 在 App Engine 标准环境中使用 BigQuery 和 Cloud Monitoring。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[[["易于理解","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。"],[[["App Engine standard environment enables the creation and deployment of applications that are robust under heavy loads and with significant data."],["The environment offers application security and reliability, independent of the underlying hardware, operating system, or physical server location."],["The documentation provides guides for various tasks, including scheduling tasks with Cron, setting up development, deploying apps, sending mail, and using tools like Apache Maven."],["Reference materials include details on configuration files like `web.xml`, `appengine-web.xml`, `cron.xml`, `queue.xml`, and `dispatch.yaml`, as well as guidance on migrating from AppCfg to gcloud."],["Resources are available for managing costs, understanding quotas and limits, troubleshooting, viewing release notes, and exploring different environments and serverless options, along with related training, use cases, and code samples."]]],[]]