wttech / AEM-Rules-for-SonarQube

SonarQube plugin with set of rules detecting possible bugs and bad smells specific for AEM development.
Apache License 2.0
112 stars 51 forks source link

Rule: Prefer cleaner @SlingServlet annotation. #238

Open kumesh65 opened 1 year ago

kumesh65 commented 1 year ago

These days most of the AEM projects are using OSGI-DS6 or greater annotations for services an all but as per this AEM custom rule it is still being recommended to to use @SlingServlet annotation, which is actually a SCR annotation, to create a sling servlet. If anyone can explain a bit . Thank you Umesh Thakur