Technical Context
In AEM (CQ), sevlets are defined as OSGi services implementing javax.servlet.Servlet
interface. A service listener org.apache.sling.servlets.resolver.internal.SlingServletResolver
in sling framework listens for OSGi services implementing javax.servlet.Servlet
interface and registers its reference. When a request hits the server, this SlingServletResolver
… read the rest.