brix-cms - Google Code
2008年07月28日(月) 09:45
Based on Wicket and JCR
Visit SITE: http://code.google.com/p/brix-cms/
Speedy unit testing with Jackrabbit
2008年07月28日(月) 06:12
So we've found that the easiest way to speed up Jackrabbit is to use the in-memory persistence manager and the in-memory file system implementations. Here's a snippet of the XML configuration showing the in-memory file system for the "/repository" branch: <filesystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"> <param name="path" value="${rep.home}/repository"> </filesystem> and here's a snippet showing the XML configuration for the in-memory persistence manager: <PersistenceManager class="org.apache.jackrabbit.core.persistence.mem.InMemPersistenceManager"> <param name="persistent" value="false"/> </PersistenceManager>
Visit SITE: http://www.jboss.org/feeds/post/speedy_unit_testing_with_jackrabbit
