GWT with JDO problem

后端 未结 6 1487
抹茶落季
抹茶落季 2020-12-15 01:24

I just start playing with GWT I\'m having a really hard time to make GWT + JAVA + JDO + Google AppEngine working with DataStore. I was trying to follow different tutorial bu

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 01:56

    You can use the Key class in GWT code by adding these additional jar files:

    http://www.resmarksystems.com/code/

    • appengine-utils-client-1.0.jar
    • appengine-utils-server-1.0.jar

    This basically gives the GWT compiler a GWT-friendly version of the Key and other AppEngine classes. (like Text, Blob and User..)

    To use:

    • Add the appengine-utils-client-1.0.jar anywhere in your build path.
    • Put the appengine-utils-server-1.0.jar in your WEB-INF/lib folder.
    • Add the following to your GWT module:
      • < inherits name="com.resmarksystems.AppEngineDataTypes"/>

提交回复
热议问题