db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Move new services to kernel
Date Tue, 06 Jul 2004 09:24:35 GMT
Hi all,

think (after Brian's auto-dirtying suggestion) we should discuss in 
general about moving services from OTM/ODMG to the kernel. Which 
services are useful in kernel which not.

One thing is object status detecting (e.g. used by Brian auto-dirtying), 
classes help to make object snapshots should be available in kernel 
(Maybe something like a SnapshotBuilder and SnapshotStrategy).

Another service is pessimistic locking. Why not move it to kernel, then 
it will be possible to use pessimistic locking in PB-api. No automatic 
locking, only the locking service so that PB-api user can lock objects 
and can detect if objects are locked.

Currently the locking implementations used by ODMG and OTM are bound to 
their API, why not make it independent and only pass String objects to 
the locking service, e.g. lock(String tx_key, String obj_oid)? This will 
make pessimistic locking independent and the implementation of 
distributed locking maps will be easier.

regards,
Armin

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message