Kotlin EE: Boost your Productivity
Marcus Fihlon is an Agile Coach and Software Engineer at CSS Insurance in Lucerne. He also lectures at TEKO Swiss Technical Collage in Olten and is a speaker at conferences and user groups all over the world, like JavaOne, JavaLand, JavaCro, JBCNconf, geecon, KotlinConf and more. He has been developing software for more than three decades and has worked with Java since the late 90s. Marcus is the grounding member and organizer of the monthly Hackergarten in Lucerne and is involved in several open source projects. Since 2017, he is member of the board of the Java User Group Switzerland and responsible for organizing events and workshops in central Switzerland. Marcus is writing articles for technical magazines like JavaPro and Java aktuell and his first book will be published early this year.
You spend too much time writing boiler plate code and then waiting for your build or deployment to finish? In this talk I show you how to boost your productivity by using Kotlin together with the Java EE API and Docker to become fast and efficient again and to focus on your business code!
[Kotlin](wikipedia.org/wiki/Kotlin_(programming_language)) is a language for the [JVM](wikipedia.org/wiki/Java_virtual_machine), invented by [JetBrains](wikipedia.org/wiki/JetBrains) a few years ago. But what the hell is Kotlin *EE*? If you never heard of Kotlin EE, don’t panic, it does not exist. But you can use it right away and boost your productivity!** I invented the term *Kotlin EE* as a synonym for using the Kotlin language together with the Java *EE* API to create services of any size (microservices, nanoservices etc.) with just a few lines of code and the ability to focus on the business logic. Kotlin and Java EE are a perfect couple for writing micro- or nanoservices. Kotlin is a very pragmatic language, builds on many concepts and techniques from Java, designed for developer productivity. Kotlin works great with all existing Java libraries and frameworks and runs with the same level of performance as Java. The Java EE API allows us to code against a proven and stable API. Provided libraries like JAX-RS for writing RESTful APIs and Jackson for JSON (de)serializing decrease the need for additional third-party libraries which results in a short build time and a small artifact size. Benefit from a very fast build and test feedback and stay focused on your code. In this talk, I try to prove my statements from above. Live on stage I write a service in Kotlin with a RESTful JSON API with only a few lines of code and run the service using a local Docker cloud where you can see how these can be scaled up and down to manage fluctuating loads. Coding, building, testing, deploying, scaling: fast and efficient!