JDO 2.1 specification draft can be reviewed...

View: New views
11 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: JDO 2.1 specification draft can be reviewed...

by Craig L Russell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've opened https://issues.apache.org/jira/browse/JDO-538 for this  
issue.

Thanks,

Craig

On Aug 4, 2007, at 8:00 PM, cbeams wrote:

> Craig, all
>
> Several suggestions relating to evolving the API in support of  
> Java5 features:
>
>
> 11.6, "Optional Feature Support":
>
> The current draft specifies the signature
>
> Collection supportedOptions();
>
> then continues to read
>
> "This method returns a Collection of String [...]"
>
> This suggests that the signature should be
>
> Collection<String> supportedOptions();
>
>
>
> 14.6.1, "Query Execution"
>
> I suggest we eliminate
>
> Object execute(Object p1);
> Object execute(Object p1, Object p2);
> Object execute(Object p1, Object p2, Object p3);
>
> and deprecate
>
> Object executeWithArray(Object[] parameters);
>
> in favor of a newly added
>
> Object execute(Object... parameters);
>
> This new method would seamlessly support any existing calls to the  
> three eliminated methods, and is a proper replacement for  
> executeWithArray().
>
> This would would leave us with three (non-deprecated) execution  
> methods off the Query interface:
>
> Object execute();
> Object execute(Object... parameters);
> Object executeWithMap(Map parameters);
>
>
>
> A slightly more radical approach to this evolution would have us  
> also eliminate
>
> Object execute();
>
> because the new varargs method can by definition support calls  
> without arguments,
>
> and deprecate
>
> Object executeWithMap(Map params);
>
> in favor of a new
>
> Object execute(Map params);
>
> because Java can disambiguate between calls to execute(Object...  
> params) and execute(Map params) just fine.  This is predecated by  
> the assumption that it would never be valid to pass a Map instance  
> as a first-class query parameter.  That might be a faulty  
> assumption, it might also just be confusing.
>
> If all these changes were made, we'd be left with an execution API  
> consisting of just two methods:
>
> Object execute(Object... params);
> Object execute(Map params);
>
>
> This is, I believe, technically favorable and cleaner, but  
> technical considerations are not the only valid ones.  Leaving the  
> no-arg execute() might be friendly to folks that don't understand  
> varargs, etc.
>
>
>
> 14.8, "Deletion by Query":
>
> The rationale used above for paring down Query's execute methods  
> could also be applied to Query's deletePersistentAll methods.  It  
> would be legal and Java5-ish to eliminate the no-arg  
> deletePersistentAll method and reduce the API down to:
>
> long deletePersistentAll(Object... params);
> long deletePersistentAll(Map params);
>
> ...
>
> There's a number of other places in the spec changes like the ones  
> mentioned here could be made, but I might be getting ahead of  
> myself :-)  I'll await comments before touching on anything else.
>
> Thanks,
>
> - Chris Beams
>
>
>> From: Craig L Russell <Craig.Russell@...>
>> Date: August 3, 2007 7:04:52 PM PDT
>> To: Apache JDO project <jdo-dev@...>, JDO Expert Group  
>> <jdo-experts-ext@...>
>> Subject: JDO 2.1 specification draft can be reviewed...
>>
>>
>> at http://db.apache.org/jdo/documentation.html
>>
>> Check it out, and send comments...
>>
>> Craig Russell
>> Architect, Sun Java Enterprise System http://java.sun.com/products/ 
>> jdo
>> 408 276-5638 mailto:Craig.Russell@...
>> P.S. A good JDO? O, Gasp!
>>
>
>
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@...
P.S. A good JDO? O, Gasp!



smime.p7s (3K) Download Attachment

Re: JDO 2.1 specification draft can be reviewed...

by David Ezzio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Craig,

Is this link still valid?  It doesn't work for me.

Thanks,

David Ezzio

Craig L Russell wrote:
> at http://db.apache.org/jdo/documentation.html
>
> Check it out, and send comments...
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@...
> P.S. A good JDO? O, Gasp!
>


Re: JDO 2.1 specification draft can be reviewed...

by Andy Jefferson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 19 October  2007, David Ezzio (ys) wrote:
> http://db.apache.org/jdo/documentation.html

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

--
Andy  (Java Persistent Objects - http://www.jpox.org)

Re: JDO 2.1 specification draft can be reviewed...

by Joerg von Frantzius-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wow! Is that really the site I used to know as apache's jdo site?!

Andy Jefferson schrieb:
> On 19 October  2007, David Ezzio (ys) wrote:
>  
>> http://db.apache.org/jdo/documentation.html
>>    
>
> http://db.apache.org/jdo/specifications.html
>
>  


Re: JDO 2.1 specification draft can be reviewed...

by Craig L Russell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Joerg,

Andy Jefferson has put in a ton of work to upgrade the site.

Craig

On Oct 19, 2007, at 7:38 AM, Joerg von Frantzius wrote:

> Wow! Is that really the site I used to know as apache's jdo site?!
>
> Andy Jefferson schrieb:
>> On 19 October  2007, David Ezzio (ys) wrote:
>>
>>> http://db.apache.org/jdo/documentation.html
>>>
>>
>> http://db.apache.org/jdo/specifications.html
>>
>>
>
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@...
P.S. A good JDO? O, Gasp!



smime.p7s (3K) Download Attachment

Re: JDO 2.1 specification draft can be reviewed...

by Joerg von Frantzius-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Craig,

I think that's worth some "Apache JDO site relaunched" story on
serverside, isn't it?
The site is really much better now, and one can quickly see what it's
all about (whereas before that was only understandable for spec addicts,
and that only after due studying the site).

Regards,
Jörg

Craig L Russell schrieb:

> Hi Joerg,
>
> Andy Jefferson has put in a ton of work to upgrade the site.
>
> Craig
>
> On Oct 19, 2007, at 7:38 AM, Joerg von Frantzius wrote:
>
>> Wow! Is that really the site I used to know as apache's jdo site?!
>>
>> Andy Jefferson schrieb:
>>> On 19 October  2007, David Ezzio (ys) wrote:
>>>
>>>> http://db.apache.org/jdo/documentation.html
>>>>
>>>
>>> http://db.apache.org/jdo/specifications.html
>>>
>>>
>>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@...
> P.S. A good JDO? O, Gasp!
>


Re: JDO 2.1 specification draft can be reviewed...

by Michelle Caisse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It would be nice if we could get the jdocentral.com redirect to
http://db.apache.org/jdo/jdocentral in place first. Does anyone have any
influence to get this to happen?

-- Michelle

Joerg von Frantzius wrote:

>Hi Craig,
>
>I think that's worth some "Apache JDO site relaunched" story on
>serverside, isn't it?
>The site is really much better now, and one can quickly see what it's
>all about (whereas before that was only understandable for spec addicts,
>and that only after due studying the site).
>
>Regards,
>Jörg
>
>Craig L Russell schrieb:
>  
>
>>Hi Joerg,
>>
>>Andy Jefferson has put in a ton of work to upgrade the site.
>>
>>Craig
>>
>>On Oct 19, 2007, at 7:38 AM, Joerg von Frantzius wrote:
>>
>>    
>>
>>>Wow! Is that really the site I used to know as apache's jdo site?!
>>>
>>>Andy Jefferson schrieb:
>>>      
>>>
>>>>On 19 October  2007, David Ezzio (ys) wrote:
>>>>
>>>>        
>>>>
>>>>>http://db.apache.org/jdo/documentation.html
>>>>>
>>>>>          
>>>>>
>>>>http://db.apache.org/jdo/specifications.html
>>>>
>>>>
>>>>        
>>>>
>>Craig Russell
>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>408 276-5638 mailto:Craig.Russell@...
>>P.S. A good JDO? O, Gasp!
>>
>>    
>>
>
>  
>


RE: JDO 2.1 specification draft can be reviewed...

by Robert Greene :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think if we're going to put a story on the serverside, we ought to revisit
some of the content of the site.  For example, "Why JDO" still refers to
J2EE Entity Beans, Toplink, Hibernate, etc.  Perhaps it is time to update to
address JPA and put a statement in place about how JDO fits in with how
alternatives have evolved over the last 3 years.

Cheers,
-Robert

Robert Charles Greene
V.P. Product Strategy
Versant Corporation
255 Shoreline Dr  #450
Redwood City, CA 94065
Office:  (650)232-2431
Cell: (925)577-4634


-----Original Message-----
From: Michelle.Caisse@... [mailto:Michelle.Caisse@...]
Sent: Friday, October 19, 2007 8:49 AM
To: jdo-dev@...
Cc: JDO Expert Group
Subject: Re: JDO 2.1 specification draft can be reviewed...


It would be nice if we could get the jdocentral.com redirect to
http://db.apache.org/jdo/jdocentral in place first. Does anyone have any
influence to get this to happen?

-- Michelle

Joerg von Frantzius wrote:

>Hi Craig,
>
>I think that's worth some "Apache JDO site relaunched" story on
>serverside, isn't it?
>The site is really much better now, and one can quickly see what it's
>all about (whereas before that was only understandable for spec addicts,
>and that only after due studying the site).
>
>Regards,
>Jörg
>
>Craig L Russell schrieb:
>
>
>>Hi Joerg,
>>
>>Andy Jefferson has put in a ton of work to upgrade the site.
>>
>>Craig
>>
>>On Oct 19, 2007, at 7:38 AM, Joerg von Frantzius wrote:
>>
>>
>>
>>>Wow! Is that really the site I used to know as apache's jdo site?!
>>>
>>>Andy Jefferson schrieb:
>>>
>>>
>>>>On 19 October  2007, David Ezzio (ys) wrote:
>>>>
>>>>
>>>>
>>>>>http://db.apache.org/jdo/documentation.html
>>>>>
>>>>>
>>>>>
>>>>http://db.apache.org/jdo/specifications.html
>>>>
>>>>
>>>>
>>>>
>>Craig Russell
>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>408 276-5638 mailto:Craig.Russell@...
>>P.S. A good JDO? O, Gasp!
>>
>>
>>
>
>
>


RE: JDO 2.1 specification draft can be reviewed...

by Robert Greene :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BTW - It's probably just a matter of rearranging and/or eliminating a few
things.  For example, there is a lot of good content on JPA, there is just
also a lot of out dated stuff.

Robert Charles Greene
V.P. Product Strategy
Versant Corporation
255 Shoreline Dr  #450
Redwood City, CA 94065
Office:  (650)232-2431
Cell: (925)577-4634


-----Original Message-----
From: Robert Greene [mailto:rgreene@...]
Sent: Friday, October 19, 2007 9:33 AM
To: Michelle.Caisse@...; jdo-dev@...
Cc: JDO Expert Group
Subject: RE: JDO 2.1 specification draft can be reviewed...


I think if we're going to put a story on the serverside, we ought to revisit
some of the content of the site.  For example, "Why JDO" still refers to
J2EE Entity Beans, Toplink, Hibernate, etc.  Perhaps it is time to update to
address JPA and put a statement in place about how JDO fits in with how
alternatives have evolved over the last 3 years.

Cheers,
-Robert

Robert Charles Greene
V.P. Product Strategy
Versant Corporation
255 Shoreline Dr  #450
Redwood City, CA 94065
Office:  (650)232-2431
Cell: (925)577-4634


-----Original Message-----
From: Michelle.Caisse@... [mailto:Michelle.Caisse@...]
Sent: Friday, October 19, 2007 8:49 AM
To: jdo-dev@...
Cc: JDO Expert Group
Subject: Re: JDO 2.1 specification draft can be reviewed...


It would be nice if we could get the jdocentral.com redirect to
http://db.apache.org/jdo/jdocentral in place first. Does anyone have any
influence to get this to happen?

-- Michelle

Joerg von Frantzius wrote:

>Hi Craig,
>
>I think that's worth some "Apache JDO site relaunched" story on
>serverside, isn't it?
>The site is really much better now, and one can quickly see what it's
>all about (whereas before that was only understandable for spec addicts,
>and that only after due studying the site).
>
>Regards,
>Jörg
>
>Craig L Russell schrieb:
>
>
>>Hi Joerg,
>>
>>Andy Jefferson has put in a ton of work to upgrade the site.
>>
>>Craig
>>
>>On Oct 19, 2007, at 7:38 AM, Joerg von Frantzius wrote:
>>
>>
>>
>>>Wow! Is that really the site I used to know as apache's jdo site?!
>>>
>>>Andy Jefferson schrieb:
>>>
>>>
>>>>On 19 October  2007, David Ezzio (ys) wrote:
>>>>
>>>>
>>>>
>>>>>http://db.apache.org/jdo/documentation.html
>>>>>
>>>>>
>>>>>
>>>>http://db.apache.org/jdo/specifications.html
>>>>
>>>>
>>>>
>>>>
>>Craig Russell
>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>408 276-5638 mailto:Craig.Russell@...
>>P.S. A good JDO? O, Gasp!
>>
>>
>>
>
>
>


oops RE: JDO 2.1 specification draft can be reviewed...

by Robert Greene :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe I've miss spoke.

There has been a lot of work done on the site, great job Andy.

At first I thought it was a cut and paste of material, when reading the "Why
JDO" page.  Quite possible that's the only spot that needs updating.

Cheers,
-Robert

Robert Charles Greene
V.P. Product Strategy
Versant Corporation
255 Shoreline Dr  #450
Redwood City, CA 94065
Office:  (650)232-2431
Cell: (925)577-4634


-----Original Message-----
From: Robert Greene [mailto:rgreene@...]
Sent: Friday, October 19, 2007 9:36 AM
To: Michelle.Caisse@...; jdo-dev@...
Cc: JDO Expert Group
Subject: RE: JDO 2.1 specification draft can be reviewed...


BTW - It's probably just a matter of rearranging and/or eliminating a few
things.  For example, there is a lot of good content on JPA, there is just
also a lot of out dated stuff.

Robert Charles Greene
V.P. Product Strategy
Versant Corporation
255 Shoreline Dr  #450
Redwood City, CA 94065
Office:  (650)232-2431
Cell: (925)577-4634


-----Original Message-----
From: Robert Greene [mailto:rgreene@...]
Sent: Friday, October 19, 2007 9:33 AM
To: Michelle.Caisse@...; jdo-dev@...
Cc: JDO Expert Group
Subject: RE: JDO 2.1 specification draft can be reviewed...


I think if we're going to put a story on the serverside, we ought to revisit
some of the content of the site.  For example, "Why JDO" still refers to
J2EE Entity Beans, Toplink, Hibernate, etc.  Perhaps it is time to update to
address JPA and put a statement in place about how JDO fits in with how
alternatives have evolved over the last 3 years.

Cheers,
-Robert

Robert Charles Greene
V.P. Product Strategy
Versant Corporation
255 Shoreline Dr  #450
Redwood City, CA 94065
Office:  (650)232-2431
Cell: (925)577-4634


-----Original Message-----
From: Michelle.Caisse@... [mailto:Michelle.Caisse@...]
Sent: Friday, October 19, 2007 8:49 AM
To: jdo-dev@...
Cc: JDO Expert Group
Subject: Re: JDO 2.1 specification draft can be reviewed...


It would be nice if we could get the jdocentral.com redirect to
http://db.apache.org/jdo/jdocentral in place first. Does anyone have any
influence to get this to happen?

-- Michelle

Joerg von Frantzius wrote:

>Hi Craig,
>
>I think that's worth some "Apache JDO site relaunched" story on
>serverside, isn't it?
>The site is really much better now, and one can quickly see what it's
>all about (whereas before that was only understandable for spec addicts,
>and that only after due studying the site).
>
>Regards,
>Jörg
>
>Craig L Russell schrieb:
>
>
>>Hi Joerg,
>>
>>Andy Jefferson has put in a ton of work to upgrade the site.
>>
>>Craig
>>
>>On Oct 19, 2007, at 7:38 AM, Joerg von Frantzius wrote:
>>
>>
>>
>>>Wow! Is that really the site I used to know as apache's jdo site?!
>>>
>>>Andy Jefferson schrieb:
>>>
>>>
>>>>On 19 October  2007, David Ezzio (ys) wrote:
>>>>
>>>>
>>>>
>>>>>http://db.apache.org/jdo/documentation.html
>>>>>
>>>>>
>>>>>
>>>>http://db.apache.org/jdo/specifications.html
>>>>
>>>>
>>>>
>>>>
>>Craig Russell
>>Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>>408 276-5638 mailto:Craig.Russell@...
>>P.S. A good JDO? O, Gasp!
>>
>>
>>
>
>
>


Re: JDO 2.1 specification draft can be reviewed...

by Christiaan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joerg von Frantzius-2 wrote:
I think that's worth some "Apache JDO site relaunched" story on
serverside, isn't it?
A promo talk in general on JDO 2 on the serverside would be a good idea if you would ask me!
< Prev | 1 - 2 | Next >