Hello Michael,

You asked if there was anyone who is using OJB in a 'real' project, and
maybe I can be of some assistance. We are using OJB at the moment for a
project which is about to go live (in a matter of weeks). We use OJB in a
JBoss environment with turbine/velocity/jetty for the front. Although there
have been some issues/frustrations/problems using it, I can say from a
user-programmer's point of view that it certainly is worth your while. It's
really cool to be able to just query on an object's properties such as
'person.supervisor.name' or some such thing.
Some points of attention:
* We haven't yet got any live data, so it's hard to predict what the
performance will be, especially if the amount of data is going to be large.
Time will tell, but performance has already been an issue. Since our object
model is quite sophisticated, with lots of many-to-many relations, we have
had some queries take a while.
* Connected to this problem is this; at the moment (AFAIK) the
getIteratorByQuery has no knowledge of extents. That means that in a
(somewhat) complex model, if you want to query on objects that are stored in
multiple tables, this cannot be done by this method. The only alternative is
getCollectionByQuery, which returns the entire query as one collection,
which might take some time for large results. I see this as somewhat of a
problem.

Despite these 'minusses', we still have faith in using OJB and faith in
getting the performance to an acceptable level. Since it is open-source, and
has a very helpful mailing list, tracking down and solving bugs is not
really a problem in my opinion. There is always the option of doing it
yourself if there is no one else who can do it for you fast enough! :) But
it is indeed somewhat risky to use a  version that is not entirely without
bugs, you have to see for yourself if you're willing to take that risk. So
far, I've only encountered one bug which was solved by downloading the new
version. As to being stable enough, I've had no complaints yet (we've had
Jboss crashes (JVM crashes even) but that might have been caused by a faulty
JVM - 1.4.0 b92). And as to losing time to these issues, you'll also be
gaining time by the easy way in which you'll be able to use and query your
objects in a database! I'm rather grateful for having OJB.

Hope this helps,

Rudi


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to