Documente Academic
Documente Profesional
Documente Cultură
Jackrabbit
Each node has a primary node type and zero or more mixin
types. Node types define the structure of a node. A node
can also be unstructured.
Content repository features
Versioning XA transactions
Getting started with Jackrabbit
Jackrabbit webapp in a
</servlet-class>
<init-param>
<param-name>location</param-name>
servlet container <param-value<javax/jcr/Repository</param-value>
</init-param>
-> JNDI or servlet context </servlet>
Versioning: Locking:
/hello [mix:versionable] /hello [mix:lockable]
@jcr:versionHistory
@jcr:baseVersion node.lock();
// ...
node.checkout(); node.unlock();
// ...
node.save();
node.checkin();
Common issues: Content hierarchy
Note: You can still access the entries as a single flat set
through search. The hierarchy is for browsing.
Common issues: Concurrent edits