6
votes

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.

1

1 Answers

9
votes

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.