jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "ExamplesPage" by ThomasMueller
Date Mon, 04 Jan 2010 13:36:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "ExamplesPage" page has been changed by ThomasMueller.
The comment on this change is: RMI code moved to RemoteAccess.
http://wiki.apache.org/jackrabbit/ExamplesPage?action=diff&rev1=32&rev2=33

--------------------------------------------------

  ((org.apache.jackrabbit.core.RepositoryImpl) session.getRepository()).shutdown();
  }}}
  
- == Simple Standalone RMI Server / Client ==
- 
- Server:
- {{{
- Repository repository = new TransientRepository();
- ServerAdapterFactory factory = new ServerAdapterFactory();
- RemoteRepository remote = factory.getRemoteRepository(repository);
- Registry reg = LocateRegistry.createRegistry(1100);
- reg.rebind("jackrabbit", remote);
- }}}
- 
- Client:
- {{{
- ClientRepositoryFactory factory = new ClientRepositoryFactory();
- Repository repository = factory.getRepository("rmi://localhost:1100/jackrabbit");
- }}}
- 
  == Jackrabbit Cache Configuration ==
  This info has moved to the CacheManager page.
  

Mime
View raw message