Hi,

I'm not an OSGi expert but a Sling committer, and we use OSGi in web
applications extensively there, so I'll try.

On Wed, Sep 17, 2008 at 2:04 AM, Joachim Rohde
<[EMAIL PROTECTED]> wrote:
> ...But first let me explain what I have in mind: I want to build a
> web-application that can be modularized via plugins....

Pretty much what Sling does, so you might want to have a look at that
as an example.

> ...Is it just a matter of taste to let the webserver be started by the OSGi
> framework or the OSGi framework be started by a web-application or are there
> some advantages / disadvantegs that I don't see yet?...

I'd say it depends on your environment - a webapp is convenient if
you're in a webapp container environment, whereas for standalone,
runnable jar stuff you might not need a webapp container and the
former might be easier. Sling demonstrates both, in its launchpad/app
and launchpad/webapp modules.

> ...After further investigating I stumpled upon Spring-DM...

Cannot help you on the Spring parts, except maybe this blog post from
a colleague about using Spring in Sling:
http://dev.day.com/microsling/content/blogs/main/slingspringspling.html

> ...And then there is Apache Sling, which is also using Felix. But honestly I 
> am
> not quite sure, if I really got the idea of Sling and if it could be of any
> use for me. Can it?...

Sling is a web framework that is built out of OSGi bundles, and uses a
Java Content Repository for content/data storage.

As I said it might be useful as an example, or you might build your
application on it if working with JCR suits your needs.

Hope this helps, although I'm obviously based towards Sling.
-Bertrand

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

Reply via email to