concept InMemory server in category apache chemistry

This is an excerpt from Manning's book CMIS and Apache Chemistry in Action.
Figure 4.10 shows the capabilityNewTypeSettableAttributes list for the InMemory Repository. If you look towards the bottom of the figure, you’ll see that the repository hasn’t permitted any settable attributes, which isn’t correct. At the time of this writing, the InMemory server wasn’t populating this list.
2. Specify a username and password. Anything will do. How about admin and admin? Then, click Install. The application will load some sample data into the InMemory server and will tell you when it’s done.
When you run the InMemory server that accompanies this book, the server webapp gets expanded to $SERVER_HOME/cmis/webapps/inmemory. If you look in the WEBINF folder within that, you’ll see the webapp’s web.xml file. That file contains the following context parameter:
<context-param> <param-name> org.apache.chemistry.opencmis.REPOSITORY_CONFIG_FILE </param-name> <param-value>/inmemory-repository.properties</param-value> </context-param>This context parameter tells the InMemory server to use a file called inmemory-repository.properties for configuration. The InMemory server that accompanies this book is configured to run using several of its assets compressed into zip files. That inmemory-repository.properties file resides in $SERVER_HOME/inmemory-cmis-server-sources.zip. If you were to unzip the file and look inside, you’d see the following properties:
# InMemory Server Settings InMemoryServer.RepositoryId=A1 InMemoryServer.TypeDefinitionsFile=inmemory-types.xml InMemoryServer.MaxSize=20971520The InMemoryServer.TypeDefinitionsFile setting tells the InMemory server that its type definitions reside in a file called inmemory-types.xml. That file also resides in the inmemory-cmis-server-sources.zip file, and if you were to browse it, you’d see that it contains several type definitions.