Something should receive and parse http requests. ...
# ktor
o
Something should receive and parse http requests. For now it’s either servlet container (Jetty or Tomcat, and hopefully most other) or Netty.
Application.main
is called by the
ApplicationLoader
, but it should be run from host. So if you have a server to deploy to (e.g. servlet container already configured and maintained by admins, or local tomcat), you don’t need embedded server. For local development, small applications, it could be useful to run host (container) right there, in the normal
main
method.