Hi To see if Sling would fit our project I would need to be able to handle calls from a client (Ext/JS) sending JSon to server and expecting a JSon response back. In the samples I read that it is possible to register a servlet inside Sling but I am not quite sure how to do it. The only place where I found a servlet used is in 'org.apache.sling.sample.slingshot.impl.ResourceTypeConversionServlet' or the 'org.apache.sling.launchpad.testservices.war.servlets.TestServlet'.
Would that be the way to handle JSon calls from a client inside Sling? Could that be done with an ESP file instead? Cheers - Andy Schaefer
