Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by AndreasHartmann:
http://wiki.apache.org/lenya/JcrIntegrationApproach

New page:
Options:

=== Use JCR Directly ===

Client code example:

{{{
Node node = (Node) session.getItem("/foo/bar");
Node content = node.getNode("jcr:content");
long lastModified = content.getProperty("jcr:lastModified").getLong()
}}}

 * Advantages
  * No Java API definition necessary (content model is API)

 * Disadvantages
  * Verbose
  * No Lenya-specific code completion

=== Lenya Publication API

Client code example:

{{{
}}}

 * Open issues
  * Object-JCR mapping?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to