Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Kotlin in Action: support in Spring 5?

 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have read that Spring 5 supports Kotlin. Can you share some light on that?

Is the support going to be such that we can develop a Spring application in Kotlin, just like the way we use Java?
 
author
Posts: 149
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kotlin is fully interoperable with Java. This means that you can develop any application in Kotlin that you can develop in Java. This requires no additional support from the frameworks that you're using.

The support for Kotlin in Spring 5 means that you can use a nice Kotlin DSL in some places in the API, and that you get full advantages of Kotlin's null safety when using the framework classes (because they have been annotated in a special way). You can find more information and code examples in the Spring blog: https://spring.io/blog/2017/01/04/introducing-kotlin-support-in-spring-framework-5-0
 
Mohamed Sanaulla
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot, Dmitry. I will read through the link shared by you. I am working on an upcoming book on Spring 5 and would like to cover the Kotlin's support in Spring 5!
 
Evil is afoot. But this tiny ad is just an ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic