Registry / other / jcr
library1.0.1javamavenunverified

The Java Content Repository API (JCR) provides a standard interface for content repositories, as specified by JSR-283.

<dependency> <groupId>javax.jcr</groupId> <artifactId>jcr</artifactId> <version>1.0.1</version> </dependency>
INSTALL
IMPORT
SIG · JCR
J
jcr
otherjavav1.0.1
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 JCR session login using Repository and Session.

import javax.jcr.Repository; import javax.jcr.Session; import javax.jcr.SimpleCredentials; Repository repo = getRepository(); Session session = repo.login(new SimpleCredentials("admin", "admin".toCharArray())); System.out.println(session.getWorkspace().getName()); session.logout();
Debug
Known issues
breakingJCR 2.0 (JSR-283) is the latest version; JCR 1.0 (JSR-170) is deprecated.
fix
Use JCR 2.0 API (javax.jcr) and ensure your repository implementation supports it.
affects: <2.0
Upgrade
Version history
1.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jcr — mvn dependency:get jcr · libregistry