Coming Up for Air

I have a grand total of one Android application in the Play Store, Cub Tracker. It serves two functions for me: it helps me manage my sons' Cub Scout den, and it gives me a means for experimentation in the mobile realm. For the most part, it has done well for me on both counts for the past few years. I am currently faced with an issue of new functionality (which is mostly irrelevant for this discussion) that has brought up a question in the realm of experimentation. This post is a discussion of my options which will allow me to think out loud, if you will, as well as getting (I hope) some feedback on my options.

At the end of another busy year, full of stress and grief, it's my hope and prayer that the true message of Christmas, not "getting along with family", but the birth of the Savior of the world, would settle your hearts, and that True Peace would be yours.

Merry Christmas!

+++ <a href=" http://www.hobbylobby.com/about-us/holiday-messages?modal=it%27s+a+boy" rel="NON"> <img src="/images/2015/2015-ChristmasStandardDTLR.jpg" style="padding: 0px 0px 10px 10px;"/> </a> +++

If you've been following my blog, you've probably noticed that I've been spending a lot of time with Kotlin of late. (For the curious, I really like it so far, but I haven't done just a whole lot with it.) I've experimented with writing simple JSF and JAX-RS apps in it, largely to see if I can make it work. With those hurdles cleared, I'm trying something a bit more ambitious: a complete (if basic) Java EE application, written completely in Kotlin. Because I'm a sucker for a bad joke, I've dubbed the project KotlinEE. I'm not quite ready to walk through that application yet, but I what I would like to discuss now is an issue I ran into trying to get CDI working with Kotlin.

In keeping with theme of "use existing frameworks with Kotlin" and misleading titles, here's a quick and dirty demonstration of writing JAX-RS applications using Kotlin.

There's a chance that at least some of you saw the blog title and thought: "Ah ha! A Kotlin wrapper/helper for JSF!" and rushed over to check it out. If so, mission accomplished. :) This really isn't anything that ambitious. Sorry. :)

At JavaOne this week, I spent a good deal of time talk to Hadi Hariri , Developer Advocacy Team Lead at JetBrains, about their Kotlin language. With my long background in Java webapps, I often reach for my webapp hammer when trying to learn a new language, so I asked Hadi what Kotlin library he would suggest. His answer, in a nutshell, was that the Java interop in Kotlin is so good, just use whatever you want, so I thought I'd put that to the test with a really simple JSF app. Here it is.

Search

Quotes

Sample quote

Quote source

About

My name is Jason Lee. I am a software developer living in the middle of Oklahoma. I’ve been a professional developer since 1997, using a variety of languages, including Java, Javascript, PHP, Python, Delphi, and even a bit of C#. I currently work for Red Hat on the WildFly/EAP team, where, among other things, I maintain integrations for some MicroProfile specs, OpenTelemetry, Micrometer, Jakarta Faces, and Bean Validation. (Full resume here. LinkedIn profile)

I am the president of the Oklahoma City JUG, and an occasional speaker at the JUG and a variety of technical conferences.

On the personal side, I’m active in my church, and enjoy bass guitar, running, fishing, and a variety of martial arts. I’m also married to a beautiful woman, and have two boys, who, thankfully, look like their mother.

My Links

Publications