Hi,

Usually you should be using the JCR API, as this is the one covered by a specification (JSR 283) and is much richer than the Oak API. The Oak API can be seen as an "implementation detail" for implementing the JCR API on top. You would most likely only want to use it directly if building your own variant of a content repository having a semantic different from JCR.

Michael

On 12.12.16 12:51 , btiernay wrote:
I'm curious as to when to use one API over the other.

For example:

- Repository vs. ContentRepository
- Session vs. ContentSession
- QueryManager vs. QueryEngine
- Node vs. Tree

etc.

Is there any usage recommendation here? I didn't see anything in the
Javadocs or documentation.

Thanks in advance.



--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Oak-vs-Jcr-APIs-tp4665708.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to