Notes: RELEASE 0.0.2 Introduction Jeceira is an open-source implementation of the Content Repository for Java(tm) Technology Specification (JSR 170) having the goal to create a freely available, fast and extensible layer for most various content dependent applications to build upon. Configuration Repositories are configured in a file jeceira.xml which must be on the classpath. An example for such configuration file: <?xml version="1.0" encoding="UTF-8"?> <repositories> <uuid-home dir="d:/uuid" /> <repository name="TEST_REPOSITORY" storageType="HSQLDB"> <properties> <property name="url" value="jdbc:hsqldb:testdata/db/runtime" /> <property name="username" value="sa" /> <property name="password" value="" /> </properties> <workspaces> <workspace name="TEST_WORKSPACE" /> </workspaces> </repository> </repositories> The absolute path to the uuid-home directory must be provided for current implementation of the UUID generator where it persistently stores its state. The application using Jeceira must have writing access to this directory. Only repositories provided in the configuration file can be used. An important setting is the storageType attribute of a repository. It determines where repository content is stored. Currently, only two types are possible: HSQLDB database (storage type HSQLDB) and pseudo-storage in RAM (storage type RAM). It is possible to have several repositories of different storage type. Each storage type has its own configuration properties which are provided in the properties element of the configuration file. For HSQLDB they are: url of the database, username and password. The RAM storage type has currently no configuration properties. The declaration of workspace names is optional. There is always at least the default workspace with the name 'default' present in each configured repository. Alternatively, repositories can be dynamically configured by means of com.jeceira.config.RepositoryConfig class. This is a simple container of configuration settings for a single repository. There must be an implementation of the com.jeceira.config.ConfigManager interface managing dynamically created repository configurations. With its help an instance of com.jeceira.repository.RepositoryFactory can be retrieved by means of the RepositoryFactory.getInstance(ConfigManager) method. Usage An access to the configured repositories is provided by an instance of com.jeceira.repository.RepositoryFactory class. Its instance can be retrieved by means of the RepositoryFactory.getInstance() method. This method creates a default implementation of the ConfigManager interface reading configuration data from the jeceira.xml file found on the classpath. A repository can be retrieved from the repository factory by means of the RepositoryFactory.getRepository(String repositoryName) method. The interaction with the returned repository is then to be done according to the JCR API.