Spring Boot integration with AEM

Avatar

Avatar

NaziyaP

Avatar

NaziyaP

NaziyaP

22-04-2019

Hi All,

I have seen few documents on how to use Spring MVC with AEM , but could not find anything on how to integrate Spring Boot with AEM. Can Spring Boot be used with AEM ? if yes can you please share some useful links on how to do it.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

23-04-2019

I guess, that it's possible, but I am not aware of any integration which is opensourced. On the other hand, it wouldn't be that hard to implement some custom Injectors to make the content of the HttpSession easily accessible within a sling model.

Answers (5)

Answers (5)

Avatar

Avatar

NaziyaP

Avatar

NaziyaP

NaziyaP

22-04-2019

Thank you for you response

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

22-04-2019

As stated - AEM is not a Spring MVC framework.  There are no docs from Adobe on this use case. Adobe recommends using Sling APIs - which is what AEM is built on - not Spring APIs.

The Basics

Avatar

Avatar

NaziyaP

Avatar

NaziyaP

NaziyaP

22-04-2019

We need it for session purpose . Is there any way to map Application's session with Redis using only AEM. Spring Boot provides special annotation for those.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

22-04-2019

Why would you even want to use Spring MVC with AEM. AEM is based on SLING and OSGi, not Spring APIs.