jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xing007008 <xing007...@163.com>
Subject how to Connect to the Repository
Date Mon, 22 Sep 2008 09:33:40 GMT

Connect to the Repository
Acquire the Repository object: exact mechanism is outside 
spec, but one possible way: JNDI
// Get the Repository object
InitialContext ctx = 
Repository repository = 
(Repository)ctx.lookup(“MyRepository");


I don't know how to get the Repository just use jsp170 api.

Who can help me?
-- 
View this message in context: http://www.nabble.com/how-to-Connect-to-the-Repository-tp19604544p19604544.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.


Mime
View raw message