Thank you, your answer is very clarifying. On 2/6/08, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > ...Examples of how to build an application upon the Sling framework would > > be of great help to us.... > > We don't have any serious examples at the moment, this is definitely > next on our list [...]
Great, we will keep watching the doc pages. > We'll have examples for the Launchpad...hopefully soon. Yep, those examples would definitely be valuable to us. > > ...c) Build our functionality as an OSGi bundle, and run it side-by-side > > with the Sling bundles (although the concept of OSGi seems to be a bit > > overkill for our application);... > > > ...d) Build our functionality as scripts that are stored in the > > repository (not really an option)... > > A combination of c) and d) is how we envision Sling being used in most > cases: start by creating scripts to experiment and prototype, and > where needed moved to Servlets and other Java-based components, > provide as OSGi bundles. Our application will handle hundreds of websites, so performance is a big issue here. Thus, we're reluctant to store too much of our core functionality in JCR - having precompiled Java classes will probably be much more efficient in many areas. What I have envisioned, is creating servlets that extends e.g. SlingAllMethodsServlet. Our servlet will examine the request, pass the request on to Sling in some cases, or pass it on to our own code in other cases. Is this strategy at all possible and advisable? > [2] http://felix.apache.org/site/maven-scr-plugin.html I didn't realize what the SCR plugin could do for us. Will definitely have a look at it. > Hope this helps - Sling is still a young project, so we don't have as > much examples and up to date documentation as we'd like, but if you're > willing to invest some time in playing with it, I'm sure the people on > this list would be happy to help. We're very excited about Sling, and will continue to keep a close watch on what's happening. Thanks for some great advise! -- Vidar S. Ramdal <[EMAIL PROTECTED]> - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway
