【问题标题】:For Google App Engine, do I need Java EE?对于 Google App Engine,我是否需要 Java EE?
【发布时间】:2011-08-17 17:44:58
【问题描述】:

我要为 Google App Engine (Java) 设置我的开发环境,但我不确定我应该选择什么下载。

我可以下载:

  • Java SE 6 更新 27
  • JDK 6 Update 26 与 Java EE

我需要 Java EE,还是应该坚持使用较新的版本?

【问题讨论】:

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


    【解决方案1】:

    SE JDK 就足够了,除非你真的需要 EE。

    http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html (Java 6)

    【讨论】:

    • Google App Engine supports Java 5 and Java 6. When your Java application is running on App Engine, it runs using the Java 6 virtual machine (JVM) and standard libraries. Ideally, you should use Java 6 for compiling and testing your application to ensure that the local server behaves similarly to App Engine. - 所以不需要 Java 7。
    【解决方案2】:

    据我所知,您实际上无法在 Google App 引擎上使用完整的 J2EE 堆栈,因此 Java SE 绰绰有余:)

    【讨论】:

      【解决方案3】:

      在设置开发环境时,我推荐 Google AppEgine 的 eclipse 插件。

      GAE Eclipse Plugin - Instructions

      【讨论】:

        猜你喜欢
        • 2013-01-17
        • 1970-01-01
        • 1970-01-01
        • 2018-05-09
        • 2015-04-06
        • 2014-11-27
        • 2011-03-06
        • 2013-11-18
        • 1970-01-01
        相关资源
        最近更新 更多