cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Any JCR (JSR-170) scratchpad code for Cocoon yet?
Date Tue, 08 Mar 2005 22:55:04 GMT
Vadim Gritsenko wrote:

> Sylvain Wallez wrote:
>
>>
>> Or we could also have a RepositorySelector and select a repository 
>> using the first path element.
>
>
> Instead of path element, you could use subprotocol
>
>   jcr:repo1://path/


I like it, as it allows to use jcr://path to use the default (or single) 
repository.

>> Hmm... that may be a good option as an application also need to 
>> access a repository directly and not only through a source. Hmm...
>
>
> Yes, applications should have programmatic access to the repository. 
> Are you thinking about registering all repositories in cocoon.xconf?


Exactly. The JCRSourceFactory will then just be one particular client of 
these components.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message