create new tag
, view all tags
Object oriented databases.





See Resource Recommendations. Feel free to add additional resources to these lists, but please follow the guidelines on ResourceRecommendations including Guidelines_for_Rating_Resources.


  • (rhk) [[][]]; ; ; —

Recommended for Specific Needs

Prevalent Objects

IIUC, prevalent objects (and Prevayler) is a database of objects in RAM.

Prevayler doesn't map data into an RDBMS. Prevayler removes the RDBMS entirely.

In Prevayler, your "database" is represented natively as a collection of objects, which reference each other by holding pointers to each other, just like any other God-fearing object in core memory. It builds indices, also in memory, to support query operations on this big collection of objects. The whole shebang is periodically serialized to disk, to make it persistent between invocations of your application.

So: Prevayler is natively an OODBMS, and not a tool to map between OO and relational databases. Any language that supports introspection can support prevalence, and hence Prevayler. Such languages include Perl, Python and C#.

Even for languages that don't support introspection, you could still implement a prevalence system, but it would be rather awkward and not seamless. Your objects would all need to know how to serialize and deserialize themselves, and also provide indexing information about themselves...a clunky and unwiedly approach. Which is why you're unlikely to see Prevayler for C++ any time soon.

I disagree with Prevayler's approach for more fundamental reasons, having to do with the fact that the whole database must always exist in memory. But I won't get into that here.

Re:Why Java? (Score:3) by MSBob (307239) on Tuesday September 23, @08:36PM (#7039356)

How do you effectively query that thing? OO links are not efficient to follow unless you set up hashmaps all over the place which would make your object model absolutely horrible to maintain...

Re:Why Java? (Score:2) by jafac (1449) on Tuesday September 23, @09:11PM (#7039628) ( http://slashdot.org/ )

I disagree with Prevayler's approach to "replacing" RDBMS' for the simple fact that it fails the ACID test.

  • (rhk) [[][]]; ; ; —


  • () RandyKramer - 06 Oct 2003
  • If you edit this page: add your name here; move this to the next line; and if you've used a comment marker (your initials in parenthesis), include it before your WikiName.

Revision Comment

  • %DATE% —

Page Ratings

Topic revision: r1 - 2003-10-06 - RandyKramer
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look