javajcr

How to get all stored Nodes in JCR?


we have an application that uses JCR (Jackrabbit) as its content managment system, but know we want to replace it by other (none JCR) content managment system. I want to sync my old data in JCR with this new system, so how can I get all contents (Nodes) from JCR (Jackrabbit) to store them in the system?


Solution

  • You can export JCR workspaces to XML through one of the Session.export methods.