1
我正在使用Java使用GAE處理應用程序。如果有人能解釋使用DatastoreService vs PersistentManager進行數據存儲訪問的優缺點,我們將非常感激。使用DatastoreService和PersistentManager進行GAE的優點和缺點
謝謝!
我正在使用Java使用GAE處理應用程序。如果有人能解釋使用DatastoreService vs PersistentManager進行數據存儲訪問的優缺點,我們將非常感激。使用DatastoreService和PersistentManager進行GAE的優點和缺點
謝謝!
DatastoreService - 低級API。 PersistentManager(JDO) - 基於DatastoreService的高級API。
性能:DatastoreService消耗較少的資源,PersistentManager(JDO) - 有一定的開銷。
開發:PersistentManager開發/支持要快得多。
另一種選擇是承諾比JDO更快的性能和更快的開發速度比低級API - 物化。這是新的有前途的技術。嘗試一下。