Assuming you have written an implementation of JSR170 for the exist db, you would do

Repository r = new ExistDBRespository();

Session s = r.login(new ExistCredentials());

Node n = s.getRootNode();

......
.....



As others have said, this is an enormous undertaking, and one you probably are not interested in investing in.

--dave
----- Original Message ----- From: "xing007008" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, September 22, 2008 10:04 AM
Subject: Re: how to Connect to the Repository



Hi
I don't want to use Jackrabbit source code. I want to write code by myself.
Do you have the simple demo?


Thomas Müller-2 wrote:

Hi,

HI, Can you help me about the demo just with jcr-1.0.jar.

Sorry, I don't understand what you with "demo just with jcr-1.0.jar".

Regards,
Thomas



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

Reply via email to