Questions tagged [jcr]

JCR is an acronym for Java Content Repository: an API and object database of hierarchical data mainly used by content management systems. Apache Jackrabbit is an open source implementation; there are several commercial products.

JCR is an acronym for Java Content Repository: an API and object database of hierarchical data mainly used by content management systems. Apache Jackrabbit and ModeShape are open source implementations. There are several commercial products such as Adobe CRX

Links

784 questions
79
votes
1 answer

When to use JCR (content repository) over other options?

I'm trying to evaluate content repositories (JSR283) like Jackrabbit and ModeShape but I must confess that I don't understand what problem resolves in first place and even if it is a good choice for the project. Which cases do you think is the best…
Ither
  • 2,527
  • 3
  • 27
  • 39
28
votes
3 answers

What does ModeShape offer that JackRabbit doesn't?

I just familiarized myself with Apache JackRabbit. I've done a little multi-user repository for document management. If anybody used both of them, could you please answer these questions ? Is ModeShape somehow linked to JBoss ? I don't have much…
lisak
  • 21,611
  • 40
  • 152
  • 243
22
votes
2 answers

Apache Jackrabbit JCA 2.7.5 .docx and .xlsx indexing

I'm ussing the Appache Jackrabbit JCA 2.7.5, the problem is that files .docx and .xlsx is not indexed. My steps : Deploy the Jackrabbit JCA as resource adapter on glassfish create a Connector Connection Pool for the resource adapter indicating the…
Aroniaina
  • 1,252
  • 13
  • 31
15
votes
1 answer

When should you use JCR and when should you use JPA/RDBMS?

The Java JCR API defines a persistence mechanism which can be used to replace many of the traditional roles of a RDBMS. For example, JackRabbit - the JCR reference implementation - supports transactions, SQL queries, object-content mapping, etc. You…
Robert Campbell
  • 6,848
  • 12
  • 63
  • 93
14
votes
5 answers

jackrabbit-standalone-2.4.0.jar Populate does not work

I just downloaded and started Jackrabbit using: java -jar jackrabbit-standalone-2.4.0.jar When I call the populate.jsp, I get this error: Error while accessing the repository: LoginModule ignored Credentials Check the configuration or use the…
Bevo
  • 530
  • 5
  • 17
14
votes
1 answer

Get File Out of JCR File Node

I have the following code to insert "rose.gif" into a roseNode. But how do I retrieve the file from the repository? Node roseNode = session.getRootNode().getNode("wiki:encyclopedia/wiki:entry[1]/"); File file = new File("rose.gif"); …
Steve
  • 11,831
  • 14
  • 51
  • 63
14
votes
3 answers

How to set a resource property

I have a Sling Resource object. What is the best way to set or update its property?
Tomek Rękawek
  • 9,204
  • 2
  • 27
  • 43
13
votes
2 answers

What's the Difference Between Apache Jackrabbit and Jackrabbit Oak?

I'm sorry if this sounds stupid, but what's the difference between Jackrabbit and Oak? I'm looking into JCR170, specifically how to migrate content between two jackrabbit installations, and I've come across both JackRabbit and Oak. The Apache…
Goldentoa11
  • 1,700
  • 2
  • 17
  • 29
11
votes
2 answers

JCR checkin/checkout operations

I'm just starting to work with JCR (apache jackrabbit), i want to ask simple question (because i coudn't find good tutorial for it): So for what do i need Node.checkout and Node.checkin methods? What do they mean? Thx
user253202
10
votes
5 answers

What is the best way to save my POJOs into Jackrabbit JCR?

In Jackrabbit I have experienced two ways to save my POJOs into repository nodes for storage in the Jackrabbit JCR: writing my own layer and using Apache Graffito Writing my own code has proven time consuming and labor intensive (had to write…
Chinnery
  • 10,179
  • 2
  • 23
  • 25
9
votes
1 answer

JCR SQL2 Multivalue properties search

I want to do a search in the content repository using one or more of the values as an input parameter for a multivalue property Something like: find all nodes with the primary type 'nt:unstructured' whose property 'multiprop' (multivalue property)…
silverb77
  • 279
  • 5
  • 16
9
votes
3 answers

How to access remote jackrabbit repository?

I need to work with remote jackrabbit repository. I use following code to connect to the local repository: Repository repository = new TransientRepository(); Session session = repository.login(new SimpleCredentials("username",…
Abhishek Dhote
  • 1,638
  • 10
  • 41
  • 62
9
votes
3 answers

Does anybody know a good and easy JCR UI management Tool?

I'm importing massive data into a JackRabbit JCR repository. A good UI management tool to visualize the JCR repository would be great to check if the imported data is in a good layout, and also would make my life as developer easier.
user141634
  • 393
  • 1
  • 4
  • 8
8
votes
1 answer

How do you backup an apache Jackrabbit repository without shutting Jackrabbit down?

When running Apache Jackrabbit JCR as an embedded service in your app, is there a quick way to get a sound and consistent backup of the contents of the Jackrabbit repository without shutting Jackrabbit down? If so how?
Chinnery
  • 10,179
  • 2
  • 23
  • 25
8
votes
1 answer

How CQ authenticate each request?

I'm aware of how AEM creates cookie called "login-token" after successful authentication . My question is how AEM validates this cookie in each request? Is there any filter available to intercept the request and then validate cookie? if not then how…
1
2 3
52 53