# ktor


12/31/2019, 5:47 PM
I write here because came another intervention. Sorry but I do not get what you guys mean. I tried to run on the internet a research about 'Ktor vs Springs', or 'limit of Ktor' and what i get is that is a microframework ktor, that means that lacks some advanced features. But if becomes popular will come more and more libraries right? And for what concern legacy code, can be also integrated in existing Spring project with a different stack that communicates with Spring right?


12/31/2019, 5:59 PM
Spring is made for large enterprise projects. In Spring you have out-of-the-box database connectivitiy, DI and some other features you need for your enterprise application. Ktor is rather lighweight and has minimal set of features. You would want it for custom application. You need to decide which case is yours. Spring also has first-class kotlin support now, but in Spring you will need to spend some time to learn Spring. Also Ktor is deffenitely your choice for multiplatform.

Brendan Weinstein

12/31/2019, 7:01 PM
"But if becomes popular will come more and more libraries" You can leverage all of the existing popular java libraries, including spring. For example, you could have a ktor service and use "" for encryption and decryption.
☝️ 1


12/31/2019, 11:57 PM
Copy code
I use ktor and spring JdbcTemplate/NamedParameterJdbcTemplate, for example.


01/01/2020, 1:01 PM
thank you guys what a community!
I think ktor will get more and more traction: 1) intelliJ smartness behind 2) no verbose 3) amazing increase in usage, as witnessed from the activity of this sub channel versus others 4) Marioled and Brendan above suggestions about interoperability and common libraries 5) db solution are easy to implement, in my pet project I installed for the first time postgreesql in minute 6) DI is not such an important feature if you use a class with injection and clean architecture
so the only challenge imo is legacy code, as world is based on spring mvc and boot