Spring Boot integration with AEM | Community
Skip to main content
NaziyaP
Level 2
April 22, 2019
Solved

Spring Boot integration with AEM

  • April 22, 2019
  • 6 replies
  • 12596 views

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.
Best answer by joerghoh

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

smacdonald2008
Level 10
April 22, 2019

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

NaziyaP
NaziyaPAuthor
Level 2
April 22, 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.

smacdonald2008
Level 10
April 22, 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

NaziyaP
NaziyaPAuthor
Level 2
April 23, 2019

Thank you for you response

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
April 23, 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.