BT

Advanced Java Content Repository Techniques

by Rob Thornton on Nov 09, 2006 |

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.

Hello stranger!

You need to Register an InfoQ account or 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

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT