Sending persisted JDO instances over GWT-RPC

前端 未结 6 2097
半阙折子戏
半阙折子戏 2020-12-24 07:30

I\'ve just started learning Google Web Toolkit and finished writing the Stock Watcher tutorial app.

Is my thinking correct that if one wants to persist a bus

6条回答
  •  半阙折子戏
    2020-12-24 08:16

    You do not have to create two versions of the domain model.

    Here are two tips:

    Use a String encoded key, not the Appengine Key class.

    pojo = pm.detachCopy(pojo)
    

    ...will remove all the JDO enhancements.

提交回复
热议问题