Bertrand Sling is amazing, I was already checking the source code of it. It does an impressive job, I've checked how you guys start the container, register the bundles and so far, it's the best integration we found.
One thing we really would like is to use some framework to help on the development, I guess I'm just too lazy now that I've used Spring and Seam, and all the stuff they do for us (Transaction demarcation, Open Session in View, different scopes for beans) and I really wish I could use spring dm also. I've got some great guidance from a user (really sorry, do not have the message now, otherwise I would name him) about GWT integration, which is another thing we would like to use. I'm still struggling with GWT it self since I had no previous experience within it, as soon as I get things rolling within it I will try to get it working with OSGi, than I would follow sling steps (the system console is a must for us), and finally see if I can mix spring on top of all that. I'm feeling like McGyver, if only I had a bubble gum, a paper clip and a pencil ... On Fri, Jan 9, 2009 at 9:04 AM, Bertrand Delacretaz <[email protected]>wrote: > Hi, > > On Tue, Jan 6, 2009 at 1:28 PM, Vinicius Carvalho > <[email protected]> wrote: > > ...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.... > > Apache Sling does something similar, you can have a look at the code > under [1] to see how Felix is started. > > Sling allows you to register servlets using SCR annotations, see [2] > for example, loading a bundle that contains that JsonQueryServlet is > enough to have it process URLs ending in ".query.json". > > See http://incubator.apache.org/sling for general info about Sling. > > -Bertrand > > [1] > http://svn.apache.org/repos/asf/incubator/sling/trunk/launchpad/base/src/main/java/org/apache/sling/launcher > > [2] > http://svn.apache.org/repos/asf/incubator/sling/trunk/servlets/get/src/main/java/org/apache/sling/servlets/get/JsonQueryServlet.java > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

