JDBM Store

The JDBM EntityStore is a fast and robust implementation suitable for most applications that do not require to interact with external storage systems. JDBM is maintenance-free and no management is required. It uses a binary data file backed by a BTree-type indexer to find the location of the records from a primary key.

The only thing needed to use the JDBM EntityStore, is to do the proper assembly in a module. We recommend the usage of the JdbmEntityStoreAssembler which will add the service to the module, but also create a separate Module where its own JdbmConfiguration entity will belong to a MemoryEntityStore.

Example

public static void main( String args )
{
    qi4j = new SingletonAssembler()
    {
        public void assemble( ModuleAssembly module )
            throws AssemblyException
        {
            Visibility vis = Visibility.module;
            new JdbmEntityStoreAssembler( vis ).assemble( module );

            module.addEntities( ....
              :
              :
        }
    }.runtime();
}


Qi4j and the Qi4j logo are trademarks of Richard Öberg, Niclas Hedhman and the members of the Qi4j Core Team. See Qi4j licensing for more information.
Powered by SiteVisionexternal link.