portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor" <da...@bluesunrise.com>
Subject RE: turbine and ojb
Date Tue, 02 Apr 2002 22:12:47 GMT
>From the 1.0 spec:

"The exception philosophy of JDO is to treat all exceptions as runtime
This preservers the transparency of the interface to the degree
possible, allowing the user to choose to catch specific exception only
when required by the application"

JDO implementers are required to wraps underlying datastore exceptions
as JDOExceptions.

JDOExceptions are unchecked. This doesn't stop you from catching the
exception, but when you look at the interfaces at does appear lacking.
I don't believe there is a lack of exceptions, there are around ten
subclasses of JDOException.

> -----Original Message-----
> From: Setera, Craig [mailto:Craig.Setera@Kingland.com] 
> Sent: Tuesday, April 02, 2002 10:38 AM
> To: 'Jetspeed Developers List'
> Subject: RE: turbine and ojb
> David,
> Do you have any concerns with JDO and its lack of exceptions? 
>  When I looked at the spec last year I was concerned with the 
> overall concept of "transparent persistence".  Problem is 
> that there is so much that can go wrong with persistence 
> backends.  I'm just interested in your perspectives on this, 
> as I have not yet actually done anything with JDO.
> Thanks,
> Craig
> -----Original Message-----
> From: David Sean Taylor [mailto:david@bluesunrise.com]
> Sent: Tuesday, April 02, 2002 12:37 PM
> To: 'Jetspeed Developers List'
> Subject: RE: turbine and ojb
> > i saw some ojb stuff was checked in to the jetspeed repo.
> OJB worked fairly well for persisting the Jetspeed registry.
> I think it would've been a lot more difficult with 
> Torque/Peers. Id prefer to do all Jetspeed persistence with 
> JDO. I know OJB has plans in that area but they are too far 
> off for my immediate interests. 
> We have a working JDO implementation which I'd like to move 
> into a Apache project. 
> So far no luck but Im not giving up. 
> > ojb like any other component (e.g. torque) i'm also writing a
> > generator for ojb based on the torque generator
> Good. Glad to hear it. How does it work? Does it generate a 
> repository.xml?
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>

To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>

View raw message