Advanced Java Content Repository Techniques
Two new articles are out bolstering the documentation on using JSR-170, the Java Content Repository API. The first on TheServerSide is a practitioner's perspective which has an informative FAQ and the second on onjava.com is an in-depth look at versioning and observation using JackRabbit.
TheServerSide's article, co-written by InfoQ's Chief Architect Alexandru Popescu, gives a good introduction to the JCR and how to get up and running with JackRabbit, the reference implementation available from Jakarta. While there are other tutorials available on getting started, the value in this one is the frequently asked questions section which answers common questions that arise where most tutorials end. The questions range from when to use the JCR as opposed to a filesystem or database, to a discussion of the pros and cons of using a single workspace or multiple ones.
OnJava has a new article that goes into depth on how to use two of the optional features defined in the JSR, versioning and observation. Versioning, in the context of JCR, is the ability to save the state of a node so that you can recall earlier states. Observation allows you to monitor the repository and take action when changes are made. This article describes how both are used, and is a follow-up to one mentioned in an earlier InfoQ post.
Educational Content
Writing Usable APIs in Practice
Giovanni Asproni May 19, 2013
Concurrency in Clojure
Stuart Halloway May 17, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think