Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
JDO vs. JPA persistence
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alexander Orlov  
View profile  
 More options Apr 14, 4:18 am
From: Alexander Orlov <alexander.or...@loxal.net>
Date: Tue, 14 Apr 2009 01:18:31 -0700 (PDT)
Local: Tues, Apr 14 2009 4:18 am
Subject: JDO vs. JPA persistence
Are there any guidelines in which cases who should use which layer for
which purpose? I assume Google supports a second persistence layer to
stay compatible to already existing implementations. But which
persitence layer should I use if I start a project from scratch?

P.S.:
@Google Team: Perhaps it would be useful to create a knol à la
"Community FAQ" to answer those questions. A general "Community FAQ"
already exists (http://knol.google.com/k/marce/app-engine-community-
faqs) but to have a Java specific FAQ would be nice as well.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephan  
View profile  
 More options Apr 14, 6:33 am
From: Stephan <sbrosin...@gmail.com>
Date: Tue, 14 Apr 2009 03:33:40 -0700 (PDT)
Local: Tues, Apr 14 2009 6:33 am
Subject: Re: JDO vs. JPA persistence
Hi,

I found this (maybe biased) comparision:

http://db.apache.org/jdo/jdo_v_jpa.html

JDO seems more mature, but I don't want to start a flame war.
Maybe somebody can provide some real world experience on this?

Stephan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Orlov  
View profile  
 More options Apr 14, 6:45 am
From: Alexander Orlov <alexander.or...@loxal.net>
Date: Tue, 14 Apr 2009 03:45:21 -0700 (PDT)
Local: Tues, Apr 14 2009 6:45 am
Subject: Re: JDO vs. JPA persistence
I've found this intersting statement:

"JPA, however, is an Object-relational mapping (ORM) standard, while
JDO is both an Object-relational mapping standard and a transparent
object persistence standard. JDO, from an API point of view, is
agnostic to the technology of the underlying datastore, whereas JPA is
being oriented totally around RDBMS datastores." --
http://en.wikipedia.org/wiki/Java_Data_Objects

So JDO seems to be better suitable for Googles non-RDBMS based data
storage because JDO wasn't explicitly designed for RDBMS.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Bengtson  
View profile  
 More options Apr 14, 10:27 am
From: Erik Bengtson <ebeng...@gmail.com>
Date: Tue, 14 Apr 2009 07:27:43 -0700 (PDT)
Local: Tues, Apr 14 2009 10:27 am
Subject: Re: JDO vs. JPA persistence

> I found this (maybe biased) comparision:

> http://db.apache.org/jdo/jdo_v_jpa.html

That comparison was created by DataNucleus, which support both
standards, and donated to Apache JDO. Since we implement both
standards, we believe we have enough background do write such
comparison.

Believe or not, one the greatest differences of JDO and JPA, is that
JDO supports much more ORM features than JPA. So the advantage of JDO
over JPA in this aspect should not affect the AppEngine
implementation.

With DataNucleus, "you could define your persistence mapping using JDO
(XML or annotations) and then persist using the JPA API. Or define
your persistence mapping using JPA (XML or annotations) and then
persist using the JDO API"

If you use DataNucleus with AppEngine or with other databases, either
JDO or JPA should be the same.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Edward Gruber  
View profile  
(1 user)  More options Apr 14, 11:18 am
From: Christian Edward Gruber <christianedwardgru...@gmail.com>
Date: Tue, 14 Apr 2009 11:18:47 -0400
Local: Tues, Apr 14 2009 11:18 am
Subject: Re: [appengine-java] Re: JDO vs. JPA persistence
By the way, are you guys working with the Modello folks to bring their  
support from JPOX to DataNucleus?

Christian.

On 14-Apr-09, at 10:27 , Erik Bengtson wrote:

Christian Edward Gruber
e-mail: christianedwardgru...@gmail.com
weblog: http://www.geekinasuit.com/

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alessandro Borges  
View profile  
 More options Apr 14, 1:31 pm
From: Alessandro Borges <alessandrobor...@gmail.com>
Date: Tue, 14 Apr 2009 14:31:44 -0300
Local: Tues, Apr 14 2009 1:31 pm
Subject: Re: [appengine-java] Re: JDO vs. JPA persistence

Hi

Not sure if my comments fits to GAE, but JPA is much easier to set up than
JDO.
Both Eclipse and Netbeans can do reverse engineering and generate all entity
classes from a database in seconds, afaik  in JDO you must to it all by
hand.
JPA is just four Interfaces and a concrete class, and JDO, well, it's a bit
larger.

JDO is very powerful, but JPA works just fine.

A.

On Tue, Apr 14, 2009 at 12:18 PM, Christian Edward Gruber <


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Allred  
View profile  
 More options Apr 23, 1:54 am
From: Trevor Allred <trevorall...@gmail.com>
Date: Wed, 22 Apr 2009 22:54:15 -0700 (PDT)
Local: Thurs, Apr 23 2009 1:54 am
Subject: Re: JDO vs. JPA persistence
I've been using JPA for over a year now. However, JDO was much easier
for me to setup using GAE.

I tried to switch things over to JPA and had minimal success. When I
found out some existing bugs and limitations with JPA, I decided to
switch back to JDO. I don't remember the key issue that pushed me back
over, but I _believe_ it was due to the lack of current support for
abstract inherited tables in JPA on GAE.

Trevor

On Apr 14, 10:31 am, Alessandro Borges <alessandrobor...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google