Hello there!

After reading the books and the many help got here we started our project,
but there's just one piece of the osgi architecture that I still don't get
it.
I have a background on JEE development, and since the Felix is a registry
one could make an analogy just like JNDI, I know there's much more to the
OSGi platform than only a simple registry, but looking that way, inside a
web container, why would I need my servlets to be registered as services as
well? On a MVC model, the servlets purpose is solely to act as a controller
right?

I was imagining putting the Felix inside a servlet context, much like Spring
app do. And my servlets would consume services provided by the Felix, I
would create some special servlets front ends to install bundles, list them,
update, and the application would only consume the services. Since I have
not seen this approach anywhere I'm guessing I'm doing something terrible
wrong ;). Would this be a good approach? Has anyone tried this before?


Best regards

Reply via email to