[ 
https://issues.apache.org/jira/browse/SLING-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569874#action_12569874
 ] 

Bertrand Delacretaz commented on SLING-254:
-------------------------------------------

> As this sounds like a merge of the jr-client and jr-server bundles, I would 
> suggest you reuse the jr-client stuff 
> in the jr-server bundle.

Yes, that's the idea - I'll probably move the raw JDNI/RMI repository access 
logic to the jcr api module, as a utility class, and reuse that in both 
jr-client and jr-server.

> ...Updates should primarily be done by upgrading bundles and not re-deploying 
> war files....

I do agree in absolute terms, but we don't want beginning users of the 
Launchpad to have to care about OSGi, so being able to replace the Launchpad 
war by another one from a newer Sling release, without having to reconfigure 
anything, sounds useful.



> Launchpad war should optionally use an external Repository, without requiring 
> a change of bundles
> -------------------------------------------------------------------------------------------------
>
>                 Key: SLING-254
>                 URL: https://issues.apache.org/jira/browse/SLING-254
>             Project: Sling
>          Issue Type: Improvement
>          Components: Launchpad
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> It would be useful to allow the Launchpad to use an external Repository 
> (accessed via JNDI or RMI), without having to modify the war file or 
> load/unload bundles.
> I'll search for a solution along these lines:
> 1) Launchpad includes both the jackrabbit-server (embedded repository) and 
> jackrabbit-client (access to external repositories via JNDI or RMI) bundles, 
> but by default the jackrabbit-client does not provide a Repository.
> 2) At startup, the Sling class searches the classpath and/or environment for 
> additional configuration properties
> 3) A specific configuration property prevents the jackrabbit-server bundle 
> from providing a Repository, and lets the jackrabbit-client provide it.
> In this way, the web container could be setup in advance to define which 
> Repository to use, and new releases of the launchpad war file could be 
> dropped in without requiring any configuration or war file changes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to