我已經閱讀並理解Google API對數據中的CRUD操作。但數據在哪裏?由於通常要配置持久層,我們需要指定數據在XML文件中的位置。例如:數據庫的名稱,登錄名和密碼,... 但如何用GWT做到這一點?以及如何物理創建一個真正的數據庫在谷歌應用程序工程? 感謝在Google App Engine中配置數據庫
回答
我強烈建議從谷歌閱讀本幫助頁面:http://code.google.com/appengine/docs/java/gettingstarted/usingdatastore.html
但從本質您創建實體和堅持,他們會爲您創建的表。它的漂亮漂亮讓它一炮而紅。
+1閱讀谷歌文檔。這很漫長,令人困惑,有些地方不完整,但這是一個很好的開始。 – 2011-02-24 13:53:58
我知道如何使用XML或註解來配置映射。但是當我們在本地主機上開發時,我們實際上沒有與數據存儲的連接,那麼我們無法測試系統? – nam 2011-02-26 05:06:31
Google文檔是我們所有人的參考。但是,掌握基本概念是一個好的開始嗎?與其說(特別是當它示例使用JDO或JPA)...
以下鏈接一定要幫助:
Fundamental Concepts of the Datastore(這裏我就不贊同客體 - 僅此介紹頁面;但兼顧在對基本概念感到滿意之後,諸如Objectify和Twig-Persist之類的API)。
Transaction Isolation in App Engine
和Mastering the datastore series的在你的業餘時間;-)休息。
- 1. Google App Engine&Polymer |配置
- 2. Google App Engine yaml配置
- 3. 在Google App Engine中配置Log4j2
- 4. 在Google App Engine中配置.Properties文件
- 5. 正在下載Google App Engine數據庫
- 6. 在Google App Engine上配置PHP代碼
- 7. 在Google App Engine上配置Quercus
- 8. 未顯示Google App Engine數據庫
- 9. Google App Engine:快照數據庫?
- 10. 從Google App Engine訪問Firebase數據庫
- 11. Google App Engine數據庫索引
- 12. 配置Google App Engine主機位置
- 13. 如何在Google App Engine中爲Go設置數據裝置
- 14. Google App Engine配置端點API
- 15. Google App Engine yaml文件配置
- 16. 在Google App Engine中安裝常用庫
- 17. 如何在Google App Engine中有效地擴展數據庫?
- 18. 如何在Google App Engine Cloud SQL中存儲MySQL數據庫?
- 19. Google App Engine:將圖像存儲在數據庫(Python)中
- 20. Google App Engine在數據庫模型中更新模式
- 21. 無法在Google App Engine數據庫中獲得查詢
- 22. Google App Engine計數
- 23. Google App Engine中的數據存儲
- 24. Google App Engine在線數據存儲區
- 25. 在Google App Engine中設置Cookie超時
- 26. Google App Engine。 TextProperty重置爲「」
- 27. PhoneGap後端數據庫 - Google App Engine數據存儲
- 28. 引導Google App Engine本地數據庫的數據
- 29. App Engine(Python)和配置API
- 30. Tkinter在Google App Engine中
是谷歌API你指的是?你的意思是谷歌應用程序引擎? – aldrin 2011-02-24 08:10:31
http://code.google.com/appengine/docs/java/datastore/jpa/overview.html – 2011-02-24 08:10:38
GWT與數據庫有什麼關係?它是一個GUI層。 – DataNucleus 2011-02-24 13:21:30