https://kotlinlang.org logo
#ktor
Title
# ktor
a

andev

03/03/2019, 10:34 PM
Hi, I have beginner questions: If I want to build war file, so I can upload it later to an tomcat server, should I include "ktor-server-tomcat" as a dependency? I checked ktor-samples/tomcat-war, and found "ktor-server-servlet". I know that "ktor-server-tomcat" depends on "ktor-server-servlet" but I'm so confused which one should I use and when. My understanding is that "ktor-server-tomcat" is used only for development, so I can run it quickly locally, without manually installing tomcat, and that for production I should remove that dependency, am I right?
e

e5l

03/04/2019, 1:29 PM
@cy