You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Mahler Thomas <th...@itellium.com> on 2003/09/15 13:04:05 UTC
Prevayler based PB implementation
Hi all,
during the weekend I wrote a new PB implementation that is based on
prevayler (http://sourceforge.net/projects/prevayler/). It's already checked
in CVS.
Prevayler provides transparent and failsafe persistence for Java objects.
All Objects are kept in memory, only transaction logs and snapshots are
written to disk.
On restarting the application the latest snapshot + transactionlogs are
reexcuted to restore the latest memory state.
With Prevayler + OJB PB we now have a very simple OODBMS ! ODMG, OTM and JDO
can run on top of it as with the "normal" PB.
The implemementation is not yet complete, but it's already possible to
execute the PB tutorial application against it!
There are some still some todos:
- sequencemanagement. The Prevayler impl will need it's own SequenceManager,
as the SQL based version won't work.
- A query engine must be implemented. This is the largest todo. We need a
query engine, that is able to perform PB queries against the in-memory
database.
Any ideas for this are welcome. This engine could be reused to provide
in-memory queries for ODMG and JDO.
- The In-memory Database must be improved to provide one Hashmap per class.
Unfortunately Prevayler is licenced under LGPL and we can not redistribute
it directly.
As the prevayler concept is so simple I'm thinking of writing an ASF
licensed clean room implementation.
What do you think, is it worth the effort?
All ideas are welcome,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Prevayler based PB implementation
Posted by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br>.
Nothing to say about the licenses !
Congratulations on this PB impl ! Very nice !
On Mon, 2003-09-15 at 08:04, Mahler Thomas wrote:
> Hi all,
>
> during the weekend I wrote a new PB implementation that is based on
> prevayler (http://sourceforge.net/projects/prevayler/). It's already checked
> in CVS.
>
> Prevayler provides transparent and failsafe persistence for Java objects.
> All Objects are kept in memory, only transaction logs and snapshots are
> written to disk.
> On restarting the application the latest snapshot + transactionlogs are
> reexcuted to restore the latest memory state.
>
> With Prevayler + OJB PB we now have a very simple OODBMS ! ODMG, OTM and JDO
> can run on top of it as with the "normal" PB.
>
> The implemementation is not yet complete, but it's already possible to
> execute the PB tutorial application against it!
>
> There are some still some todos:
> - sequencemanagement. The Prevayler impl will need it's own SequenceManager,
> as the SQL based version won't work.
> - A query engine must be implemented. This is the largest todo. We need a
> query engine, that is able to perform PB queries against the in-memory
> database.
> Any ideas for this are welcome. This engine could be reused to provide
> in-memory queries for ODMG and JDO.
> - The In-memory Database must be improved to provide one Hashmap per class.
>
> Unfortunately Prevayler is licenced under LGPL and we can not redistribute
> it directly.
> As the prevayler concept is so simple I'm thinking of writing an ASF
> licensed clean room implementation.
> What do you think, is it worth the effort?
>
> All ideas are welcome,
>
> Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://db.apache.org/ojb
http://xingu.sourceforge.net
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org