Speedy unit testing with Jackrabbit

2008年07月28日(月) 06:12


About : http://www.jboss.org/feeds/post/speedy_unit_testing_with_jackrabbit
Rate: 2

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>


 
ponybadge

Powered by

Feedbacks

Tweets

Tags

Calendar