Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

Servlet code for both 6.1 and 6.3

Avatar

Level 4

I need to write servlet code which can run in AEM 6.1 as well as in 6.3. But, as we use Felix in 6.1 and SCR in 6.3 how to write a common piece of code that works for both?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

you can use felix annotations in 6.3 as well. Make sure you have felix scr annotations and other dependencies included in 6.3 projects POM.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

you can use felix annotations in 6.3 as well. Make sure you have felix scr annotations and other dependencies included in 6.3 projects POM.



Arun Patidar