Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSGi container and application server container in AEM

Tags:

osgi

aem

sling

In standalone AEM installation, Is felix OSGi container present inside jetty servlet container ? Or is the Jetty Server is installed as a bundle in Felix OSGi container ?

Which one will start first when AEM is started ?

And how will this change for a WAR based installation?

According to this this answer both are possible. But I want to know which approach is followed in AEM.

like image 545
Prashant Onkar Avatar asked Jul 18 '18 07:07

Prashant Onkar


1 Answers

AEM standalone (using quickstart) starts the felix framework and deploys jetty as bundle inside.

You can check this by starting AEM and then open the system console. In the bundle list you will find org.apache.felix.http.jetty. This is the felix implementation of the OSGi http service spec and embeds the jetty server.

like image 98
Christian Schneider Avatar answered Oct 13 '22 01:10

Christian Schneider