Jackrabbit 2 in SlingPage added by Felix MeschbergerUsing Jackrabbit Version 2.0IntroductionThe upcoming Jackrabibt 2.0 release will be the first Jackrabbit release supporting the recently publish JCR 2.0 specification. With support for this new release, currently available from the central maven repository as the third beta release (2.0-beta3), I also propose to split the embedded Jackrabbit Repository module and take out two important helper libraries:
This dramatically reduces the sice of the Jackrabbit bundle. The following libraries will (for now) remain in the embedded Jackrabbit Repository bundle:
Further investigation will have to show to what extent the SPI and SPI Commons libraries can and should be used as bundles. NOTE We do not upgrade the default JCR API import defined in the parent POM to version 2.0 to ensure that by default Sling is still able to run on plain JCR 1.0 repositories. Those parts of Sling really requiring JCR 2.0 functionality will have to explicitly set the required JCR API version to 2.0. Progress in this upgrade is tracked in SLING-XXXX. Prototype implementation can befound in my whiteboard at XXXX Changesjcr/baseThe jcr/base bundle contains a utility class providing access to the Jackrabbit Access control implementation. This utility class has to be updated to use the new JCR 2.0 API instead of the transient Jackrabbit API previously used. jcr/jackrabbit-serverThe biggest changes are concerned with the embedded Jackrabbit Repository bundle. As described above, one change is the exclusion of the indexing (parsing) and derby libraries from the bundle itself. This reduces the size of this bundle considerably. In addition all Jackrabbit dependencies are upgraded to the 2.0-beta3 version. Finally the security plugin support classes are converted to the new JCR 2.0 API. The pluggable DefaultLoginModule and DefaultAccessManager classes still remain to provide dynamic extensibility based on the OSGi service registry. jcr/webdavThe upgrade of the WebDAV provider requires integration of Tika API because starting with Jackrabbit 2.0 Tika is also used for MIME type resolution in the Jackrabbit project. For this reason, the Sling WebDAV bundle will convert the existing wrapper to a Tika Detector baking decisions – as before – on the Sling MimeTypeService. The Sling WebDAV bundle will import the Tika API as does the jcr/jackrabbit-server bundle. jcr/jackrabbit-usermanagerThe Jackrabbit User Manager bundle must of course be upgraded. TBD jcr/jackrabbit-accessmanagerThe Jackrabbit Access Manager bundle must of course be upgraded. TBD launchpad/bundlesThe launchpad/bundles project is modified to include the required JCR and Jackrabbit bundles:
Besides that the current SNAPSHOTs of the Jackrabbit embedding bundles must of course be included. Requirements
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
- [CONF] Apache Sling > Jackrabbit 2 in Sling confluence
