You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2008/06/30 15:48:37 UTC
[Lenya Wiki] Update of "JcrIntegrationApproach" by AndreasHartmann
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: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org