Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

AEM LinksLinkedIn

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

AEM LinksLinkedIn