*
* @return RMI repository factory
* @throws ServletException if the factory could not be created
*/
protected RepositoryFactory getRepositoryFactory() throws ServletException {
return new RMIRemoteRepositoryFactory(
getLocalAdapterFactory(),
getInitParameter("url", "//localhost/javax/jcr/Repository"));
}