From a documentation of AEM following is said:
AEM is built using Apache Sling, a web application framework based on REST principles
that provides easy development of content-oriented applications.
Why was AEM created with Apache Sling (which uses HTTP) and not with Jackrabbit or CRX (without HTTP)?
I can understand its use if the content repository is on another machine, as in the case where you use the Run Mode author and the resources are on another machine, but I do not understand why it is used for the realization of AEM.