There are two types of stores, a read/write store RWStore and a write once store WOStore.

Both can be used directly - without GPO - and are initialized in a similar way.

Each needs a store file and an indication whether the store should be opened read-only or can be updated.

In java:

IStore store = new RWStore("/ctc/db/mystore.rw", false);

will create a store that uses the file given. Either opening an exisitng file or creating a new file.

There is no special meaning given to file names, but it is useful to follow a convention in this regard, and it is suggested that .rw is a sensible suffix for read/write store files.

IStore store = new WOStore("/ctc/db/mystore.wo", false);

is a similar initialization but for a write once store.

If a store file has already been created, then it can only be accessed by the same type of store class that created it.