【问题标题】:GWT modules are different from Google App Engine Modules, right?GWT 模块与 Google App Engine 模块不同,对吧?
【发布时间】:2014-11-07 17:13:05
【问题描述】:

我正在尝试为 Google App Engine 应用程序开发基于网络的用户界面。 Google App Engine 应用程序使用Google Modules。我有read from other users that GWT is a good choice for the user interface。我也从Google Plugin for Eclipse 获得了使用 GWT 的经验。

我怀疑Google Module 符合J2EE 模块约定。我发现一个网站说有4 types of J2EE modules

问题 1

GWT ModuleGoogle Module 有什么区别?有什么关系吗?我怀疑没有。

问题 2

4 types of J2EE modulesGWT Module 之间是否有任何关系?

【问题讨论】:

    标签: java google-app-engine jakarta-ee gwt


    【解决方案1】:

    问题 1

    不,GWT 模块和 App Engine 模块之间没有关系。

    GWT 模块是向 GWT 编译器提供指令的 XML 文件。请记住,GWT 将 Java 代码编译为 Javascript 以在您的浏览器中运行。

    App Engine 模块解决了在单个 App Engine 应用程序上执行多个运行时(JVM、Python、Golang 等)的问题。在 App Engine Modules 之前,开发人员需要为其应用程序选择一个运行时。现在,每个 App Engine 模块可以使用不同的运行时。

    问题 2

    不,GWT 模块和任何 J2EE 模块之间没有关系。

    J2EE 模块(war、jar、ear 文件)旨在部署在应用程序服务器(Tomcat、Jetty 等)中。这与 GWT 编译器无关。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-08-04
      • 2014-05-21
      • 2010-11-05
      • 1970-01-01
      • 2013-06-12
      • 1970-01-01
      • 2020-12-13
      • 1970-01-01
      相关资源
      最近更新 更多