Editor at Large

Kotlin cozies up to Spring Framework

news
Jun 3, 20252 mins

Kotlin creator JetBrains aims to make the popular JVM language a top choice for server-side development.

Image for: Kotlin creator JetBrains aims to make the popular JVM language a top choice for server-side developm

Credit: Trismegist san / Shutterstock

JetBrains is deepening its collaboration with the Spring platform team, with the goal of making the Kotlin language a top choice for professional server-side work.

The JetBrains-Spring partnership, announced May 22, is intended to make Kotlin a more natural and powerful choice for building Spring applications, JetBrains said. Spring is a well-established framework for developing enterprise Java applications. 

As part of the partnership, JetBrains is building a newer and faster version of its reflection library, kotlinx.reflect, to improve performance in scenarios relying heavily on reflection, such as serialization and dependency injection.

Key areas of the collaboration include:

  • Providing null safety for Kotlin and Spring apps by improving Kotlin support for null safety across the framework. This will strengthen type safety in Kotlin code.
  • Delivering the new Bean Registration DSL (domain-specific language) to provide a foundation for better support for lambda and DSL-based bean definition.
  • Making Core Spring learning materials available in Kotlin.

Kotlin already shines building Spring applications, JetBrains said, thanks to features like named and default parameters, which remove the need for the builder pattern and other overload-related boilerplate. Kotlin also encourages modular design through the use of extension functions and top-level functions, according to the company. The Spring team, meanwhile, has supported Kotlin features such as coroutines, Kotlin extensions, and configuration DSLs. So far, 27% of Spring developers have used Kotlin, JetBrains said.

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author

Image for: More from this author