This Week in Spring - June 22nd, 2021

Engineering | Josh Long | June 22, 2021 | ...

Hi, Spring fans! How're y'all doing? Can you believe we're almost halfway through this crazy little thing called 2021? Time sure flies when you're having fun! This week was no exception. I joined the my buddy Matt Raible and Brian Demeers today for the OktaDev Twitch channel and we hacked on making the Spring Boot starter for Okta work with Spring Native. The goal is that you should be able to bring your application unchanged with Spring Native, and this is yet another example of that working. We didn't know what issues we were going to face, but we managed to figure out the relatively minor things required to make it work within an hour and within two hours we had most a working, standalone "hints" .jar dependency that users can add to their spring-aot plugins dependencies. Hopefully they'll polish that off and publish the bits soon.

This Okta starter is in addition to the already integrated, and already working, Spring Security OAuth 5 resource server and OIDC connect support, which already work flawlessly with native images. The TL;DR: if you want an OAuth secured HTTP service in your Spring Native and GraalVM native image, then you're just about all set.

Also, the video should be online on YouTube soon, so look for that if you want to watch us work. We had a few assists from Spring Native cofounder and lead Andy Clement who contributed from the peanut gallery.

I also built some Spring Native hints for the Jetbrains Exposed ORM framework for Kotlin. It's the same idea: build the code, then depend on the code from your project's spring-aot plugin. Exposed is an awesome, uber-typesafe object mapper or object relationship mapper that is a nice alternative to raw SQL with something like the JdbcTemplate or declaratie repositories with something like iBatis or Spring Data repositories. And now, along with so much else in the Kotlin community when built with Spring Boot, it works nicely with Spring Native. We hope you'll check it out! There are so many opportunities here, people, all we have to do is embrace them!

And, there's a ton to get to in this week's roundup so let's dive right in!

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all