Google App Engine 上的 JDO 与 JPA for Java [英] JDO vs JPA for Java on Google App Engine

查看:26
本文介绍了Google App Engine 上的 JDO 与 JPA for Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Struts2 在 Google App Engine 上开发我的项目.对于数据库,我有两个选项 JPA 和 JDO.你们会建议我吗?两者对我来说都是新的,我需要学习它们.所以我会在你回复后专注于一个.

I want to develop my project on Google App Engine with Struts2. For the database I have two options JPA and JDO. Will you guys please suggest me on it? Both are new for me and I need to learn them. So I will be focused on one after your replies.

谢谢.

推荐答案

JPA 是 Sun 的持久性标准,JDO 恕我直言正在消亡(实际上,它已经死了但仍在移动).换句话说,从长远来看,JPA 似乎是更好的投资.所以我想如果两者对我来说都是新的,我会选择 JPA.

JPA is Sun's standard for persistence, JDO is IMHO dying (actually, it's dead but still moving). In other words, JPA seems to be a better investment on the long term. So I guess I'd choose JPA if both were new to me.

这篇关于Google App Engine 上的 JDO 与 JPA for Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆