Servlet code for both 6.1 and 6.3

Avatar

Avatar

shaheenas113483

Avatar

shaheenas113483

shaheenas113483

09-05-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839
Arun_Patidar
MVP

09-05-2019

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.

Answers (0)