Uncategorized

This Month in Spring – June 2021

Hi, Spring fans! How're you 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 recently joined Matt Raible and Brian Demers 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 which issues we were going to face, but we managed to figure out the minor adjustments required to make it work within an hour. Within two hours, we had almost a working, standalone "hints" .jar, the dependency that users can add to their spring-aot plugins dependencies. Hopefully, they'll polish that off and publish the bits soon. The Okta Spring Boot starter is one option. The Spring Security OAuth client and resource-server support are already working out of the box, so check those out, too.

All of this, of course, was done on the just-released Spring Native 0.10-series.

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 excellent, uber-typesafe object mapper or object relationship mapper that is an excellent alternative to raw SQL with something like the JdbcTemplate, or declarative 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!

I also put together the Spring Native hints for the (experimental) Spring Retrosocket project.

I've put together or helped with quite a few Spring Native integrations, but if there's one you want to see done or would like help getting done, please reach out to me on Twitter (@starbuxman).

I love Spring Native, and I've even put together this dense 90-minute episode of Spring Tips introducing all things Spring Native, and I hope you'll check it out!

Anyway, friends, I suppose that's all neither here nor there. What is top of mind is that it's been more than a month since we last spoke, and friends, let me tell you, there are a ton of things to review, so let's get to it!