Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Spring Boot integration with AEM

Avatar

Avatar
Validate 1
Level 2
NaziyaP
Level 2

Like

1 like

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
NaziyaP
Level 2

Like

1 like

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
NaziyaP
Level 2

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
Coach
Employee
Jörg_Hoh
Employee

Likes

1,133 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,133 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
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
Validate 1
Level 2
NaziyaP
Level 2

Like

1 like

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
NaziyaP
Level 2

Like

1 like

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
NaziyaP
Level 2

22-04-2019

Thank you for you response

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Validate 1
Level 2
NaziyaP
Level 2

Like

1 like

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
NaziyaP
Level 2

Like

1 like

Total Posts

21 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
NaziyaP
Level 2

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
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

22-04-2019

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

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

22-04-2019