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

What is the use of Servlet Engine and Jetty.

Avatar

Avatar
Validate 10
Level 2
veerareddyc2547
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
veerareddyc2547
Level 2

Likes

5 likes

Total Posts

36 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
veerareddyc2547
Level 2

04-01-2017

Hi all,

Could any one please explain me about Servlet Engine and Jetty in aem.

1).What Servlet Engine can do in aem?

2).What Jetty can do in aem?

Thanks & Regards

VeeraReddy.Ch

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Runal_Trivedi
MVP

Likes

45 likes

Total Posts

153 posts

Correct Reply

68 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 1
MVP
Runal_Trivedi
MVP

Likes

45 likes

Total Posts

153 posts

Correct Reply

68 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Runal_Trivedi
MVP

05-01-2017

veerareddyc25475686 wrote...

Hi all,

Could any one please explain me about Servlet Engine and Jetty in aem.

1).What Servlet Engine can do in aem?

2).What Jetty can do in aem?

Thanks & Regards

VeeraReddy.Ch

 

Any web application to run needs a server for e.g. Tomcat, JBoss etc.. there are many application servers available in market. 

Jetty is the server that comes prepackaged in AEM Jar, so when you run AEM using the JAR file, then the entire AEM is using Jetty to run and execute. Find more on Jetty here - http://www.eclipse.org/jetty/documentation/9.4.x/introduction.html

AEM does offer some parameters that you can configure for Jetty. You can do it from felix console - http://localhost:4502/system/console/configMgr/org.apache.felix.http

Also Jetty is not the only server compatible, but you can run AEM inside any application container, if you opt to do so, then you will need AEM WAR file and deploy AEM as standard web-app in those servers. Adobe does provide step-by-step guide on how you can install AEM in other application servers. Please refer it here - https://docs.adobe.com/docs/en/aem/6-2/deploy/application-server-install.html

- Runal

Answers (2)

Answers (2)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 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,408 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

05-01-2017

AEM is an OSGi platform (a Java platform) - you can write OSGi services and servlets - for information - see: 

https://en.wikipedia.org/wiki/OSGi#Services

When writing Servlets for AEM - you typically write SLing Servlet and use APIs like: 

https://sling.apache.org/documentation/the-sling-engine/servlets.html

Hope this helps! 

Avatar

Avatar
Give Back 50
Employee
Feike_Visser1
Employee

Likes

247 likes

Total Posts

970 posts

Correct Reply

221 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Feike_Visser1
Employee

Likes

247 likes

Total Posts

970 posts

Correct Reply

221 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Feike_Visser1
Employee

05-01-2017

In the end the calls to AEM are received by the servlet-engine. Jetty is the implementation used.

You can write your own servlets in AEM.