Spring Boot integration with AEM | Community
Skip to main content
NaziyaP
Level 2
Apr 22, 2019 11:18 AM UTC
Solved

Spring Boot integration with AEM

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Apr 23, 2019 10:19 AM UTC

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.

6 replies

joerghoh
joerghohAccepted solution
Employee
Apr 23, 2019 10:19 AM UTC

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.

Translate
NaziyaP
NaziyaPAuthor
Level 2
Apr 23, 2019 5:23 AM UTC

Thank you for you response

Translate
smacdonald2008
Level 10
Apr 22, 2019 3:58 PM UTC

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

Translate
NaziyaP
NaziyaPAuthor
Level 2
Apr 22, 2019 2:29 PM UTC

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.

Translate
smacdonald2008
Level 10
Apr 22, 2019 2:00 PM UTC

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

Translate