This project has retired. For details please refer to its Attic page.
JDBM EntityStore Starter Template for Bootstrap
Overview
javax.json serialization
javax.xml serialization
MessagePack serialization
Memory EntityStore
File EntityStore
Geode EntityStore
Hazelcast EntityStore
JClouds EntityStore
JDBM EntityStore
LevelDB EntityStore
MongoDB EntityStore
Preferences EntityStore
Redis EntityStore
Riak EntityStore
SQL EntityStore
Ehcache Cache
Memcache Cache
ElasticSearch Index/Query
OpenRDF Index/Query
Apache Solr Index/Query
SQL Index/Query
Codahale Metrics
Migration
Reindexer

JDBM EntityStore

code

docs

tests

EntityStore service backed by an embedded JDBM2 database.

Table 56. Artifact

Group IDArtifact IDVersion

org.apache.polygene.extensions

org.apache.polygene.extension.entitystore-jdbm

0


Assembly

Assembly is done using the provided Assembler:

@Override
public void assemble( ModuleAssembly module )
    throws AssemblyException
{
    new JdbmEntityStoreAssembler().assemble( module );
}

Configuration

Here are the configuration properties for the JDBM EntityStore:

public interface JdbmConfiguration
        extends ConfigurationComposite
{
  [...snip...]

   @Optional
   Property<String> file();

   // JDBM RecordManager options

   @UseDefaults
   Property<Boolean> autoCommit();

   @UseDefaults
   Property<Boolean> disableTransactions();
}

file is optional and represent the file where the JDBM EntityStore will keep its persisted state.

It defaults to System.getProperty( "user.dir" ) + "/polygene/jdbmstore.data" If the given path is not absolute, then it’s relative to the current working directory. If you use the FileConfig Library then this property value is ignored and FileConfig is prefered.