Expand my Community achievements bar.

SOLVED

What is the use of Servlet Engine and Jetty.

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Employee

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.

Avatar

Level 10

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

Correct answer by
Community Advisor

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