Latest Posts

Archives [+]

OpenExpo, blog example and JCR/OSGi installer

Yesterday, Bertrand and I presented Sling at the OpenExpo in Winterthur. Although we had only 30 minutes for the whole presentation and started out from "what is JCR" we managed to do some live coding on stage. The example we had chosen was (again) a little blog, this time with some additional OSGi bundles though. The bundles could be installed by simply putting them in the JCR/WebDAV directory /apps/myblog/install. This is fabulous, because that allows Sling users to distribute one application as a content bundle (and not have to deal with separate packages that contain the OSGi bundles).

The example code is attached to a Sling Jira issue. I would like to get it commited as a Sling sample, but there is still some work to be done on it. In the mean time you can still get the code at Sling issue 673.

The presentation slides are here:



 

COMMENTS

  • By Andreas - 11:31 PM on Oct 19, 2008   Reply
    This looks very interesting Michael!<br/>After exploring the crx-quickstart I installed the referenced myblog example. Everything seems to work but the thumbnail generation process does not get triggered somehow.<br/>The system/console says: com.day.demo.myblog (1.0.0.SNAPSHOT) "ThumbnailGenerator" [Active]<br/><br/>I dont know yet how to debug/trace errors like this in a crx/sling app ... so any hints where to start wpould be great
  • By Michael Marth - 4:20 PM on Jan 12, 2009   Reply
    Hi Andreas, sorry, missed your comment. In case this is still relevant: the ImageListenerServiceImpl class logs to the standard Sling error log. For example, not all image types are recognized, so that might be the problem.
  • By Ransford - 1:27 AM on Oct 13, 2009   Reply
    Hi,<br/><br/>What tool did is used to draw the architecture diagram in the slides? Thanks