应用程序引擎中没有入口点的 Web 应用程序?

发布于 2024-12-29 00:55:40 字数 127 浏览 3 评论 0原文

我的 GAE 应用程序只有请求/响应处理程序(servlet)。不需要前端/入口点。但是,如果至少没有入口点类,我无法构建/调试我的应用程序(在 Eclipse 中)。 gae 应用程序必须有入口点模块吗?如果没有,我该如何解决这个问题?

I have only request/response handlers(servlets) for my GAE app. No front ends/entry points are needed. However I can't build/debug my app (in eclipse) without atleast an entry point class.
Are entrypoint modules must for gae app? If not, how can I solve this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

画尸师 2025-01-05 00:55:40

不,App Engine 不需要 GWT 模块。

是的,GWT 需要它们。如果您有 GWT 应用程序,那么:

  1. 您需要一个 html 主机页。您的 App Engine 实例上需要有此页面。
  2. 您至少需要一个带有一个入口点类的 GWT 模块。 GWT 客户端类在开发人员计算机上编译为 javascript,然后作为 JS 文件上传到 App Engine。
  3. 如果您使用 GWT-RPC(或 RequestFactory),那么您还需要服务器App Engine 上的 -side java 类

No, GWT modules are not needed for App Engine.

Yes, they are needed for GWT. If you have a GWT app, then:

  1. You need a html host page. You need to have this page on your App Engine instance.
  2. You need at least one GWT module with one entry point class. GWT client-side classes are compiled to javascript on your developers machine, then uploaded as JS files to App Engine.
  3. If you use GWT-RPC (or RequestFactory) then you'll also need server-side java classes on your App Engine.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文