Indy.Code() Sessions tagged jvm

Kotlin - Less Code, More Fun

tl;dr - Write less (but safer!) code in your Android apps or any JVM-based projects

Ever work on an Android app and tire of all the boilerplate code? Or spend hours chasing down NullPointerExceptions in your Java app? Enter Kotlin, JetBrains' new(ish) free, open-source programming language that targets the JVM. This means you can use it everywhere you use Java, but with a modern, succinct syntax.

For native Android developers, Kotlin is not only available, but it's now considered a first-class language. You're able to write an app completely with Kotlin, or switch over entire components, or even just change your models to Kotlin's data classes (which removes a TON of boilerplate code.)

Oh, and for anyone using Java elsewhere, you can add in Kotlin code to your existing application. Kotlin is 100% interoperable with Java, meaning all your existing code/libraries/tests will work with any Kotlin code you write.

Doing JavaScript development? Kotlin can be transpiled into ES5, and there are even libraries available to use React or Angular with Kotlin.

C# dev working on any kind of Java project? You'll feel much more at home with Kotlin, given features like nullable types, properties (rather than getters/setters), and extension methods.

We'll walk through Kotlin's features, check out the syntax, and even create a small Android application so you can see Kotlin in action.

Microservices, Micronaut And Your Digital Future

The modernization of a sophisticated technology stack is a delicate balancing act that rests on understanding how any one change will affect the entire ecosystem. Business leaders who oversee mature technology stacks are particularly confounded by the demand to make changes quickly (and correctly) while simultaneously increasing the complexity of their applications. Microservices promise to alleviate this burden by decomposing complex applications into a set of manageable services that are much faster to develop and much easier to understand and maintain, but there are challenges associated with this type of application architecture. It is important to recognize the challenges and to understand how best to manage those challenges.

Speaker

Jeff Brown

Jeff Brown

Partner, Grails and Micronaut Practice Lead , Object Computing, Inc.

Launching the Micro Future: Grails and Micronaut

Micronaut is a new JVM-based, full-stack framework for building modular, easily testable microservice applications. Reflection-based IoC frameworks load and cache reflection data for every single field, method, and constructor in your code; with Micronaut, your application startup time and memory consumption are not bound to the size of your codebase. The Micronaut framework shares many core values with Grails, including the enablement of code simplicity and developer productivity. Micronaut offers many additional features for a new class of applications (e.g., microservices, serverless deployments, etc.) that may not be well- suited for Grails. • Compelling aspects of the Micronaut framework include: • Sub-second startup time • Tiny processes that may run in as little as 8mb of heap • No runtime reflection • Dependency injection • Load balancing • And more! In this talk, Jeff will demonstrate how the future of Grails, GORM, and Micronaut are linked, as well as how the OCI Groovy and Grails team is taking microservice development to the next level!

Speaker

Jeff Brown

Jeff Brown

Partner, Grails and Micronaut Practice Lead , Object Computing, Inc.

Restful Grails

Grails includes a lot of features and functionality related to building RESTful services. These include a really powerful data binding system, runtime and compile time metaprogramming which greatly reduce the amount of code required in your RESTful services, a rich set of content negotiation tools and more. In this session Jeff will discuss and demonstrate many of the powerful REST features in Grails.

Speaker

Jeff Brown

Jeff Brown

Partner, Grails and Micronaut Practice Lead , Object Computing, Inc.

Micronaut For Simplifying Microservices On GCP

Google Cloud provides a powerful and highly scalable platform for delivering microservices and serverless applications, with a variety of tools to help developers make the most of the opportunities it offers. A new tool, the Micronaut framework, was designed from the ground up to simplify the architectural development and deployment of microservices, and it comes with built-in support for GCP services and hosting. In this session, we demonstrate in real time how to build a suite of lightweight microservices, wire them together in support of the intended architecture, and deploy the solution to GCP with minimal complexity and effort. Demonstrations will include deploying to Google App Engine Flex as well as the recently announced Google Cloud Run serverless environment.

Speaker

Jeff Brown

Jeff Brown

Partner, Grails and Micronaut Practice Lead , Object Computing, Inc.