Registry / database / jackrabbit-core

jackrabbit-core

JSON →
library2.22.3javamavenunverified

Jackrabbit content repository implementation provides the core JCR (JSR-283) repository engine for storing and managing hierarchical content.

<dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-core</artifactId> <version>2.22.3</version> </dependency>
INSTALL
IMPORT
SIG · JACKRABBIT-CORE
J
jackrabbit-core
databasejavav2.22.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Repository
javax.jcr.Repository

Minimal example connecting to a Jackrabbit repository.

import javax.jcr.Repository; import javax.jcr.Session; import javax.jcr.SimpleCredentials; import org.apache.jackrabbit.core.TransientRepository; public class JackrabbitExample { public static void main(String[] args) throws Exception { Repository repo = new TransientRepository(); Session session = repo.login(new SimpleCredentials("admin", "admin".toCharArray())); System.out.println("Logged in to repository: " + repo.getDescriptor(Repository.REP_NAME_DESC)); session.logout(); } }
Debug
Known issues
gotchaJackrabbit 2.x uses JCR 2.0 (JSR-283); newer versions may require migration to Oak.
fix
Consider using Apache Jackrabbit Oak for new projects, as Jackrabbit 2.x is in maintenance mode.
affects: >=2.0.0
Upgrade
Version history
2.22.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
jackrabbit-core — mvn dependency:get jackrabbit-core · libregistry