This Month in Spring - June 2021

June 25, 2021 Josh Long

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!

About the Author

Josh Long (@starbuxman) is a Spring Developer Advocate at VMware. Josh is a Java Champion, a Google Developer Expert for Kotlin, author of six books (including O'Reilly's "Cloud Native Java: Designing Resilient Systems with Spring Boot, Spring Cloud, and Cloud Foundry") and the just released "Reactive Spring" (ReactiveSpring.io), six best-selling Livelessons video trainings (including "Building Microservices with Spring Boot Livelessons" with Phil Webb and "Spring Security Livelessons" with Rob Winch, and "Cloud Foundry Livelessons" with Josh McKenty), and an open-source contributor (Spring Boot, Spring Integration, Spring Cloud, Activiti and Vaadin). Josh also has a podcast, "A Bootiful Podcast," and does a series of screencasts, "Spring Tips", on YouTube (bit.ly/spring-tips-playlist). Josh routinely blogs on the Spring blog (spring.io/blog)

Follow on Twitter Visit Website More Content by Josh Long
Previous
Beyond the Technical: Building a Modern SaaS Billing Platform
Beyond the Technical: Building a Modern SaaS Billing Platform

by Kumaresan Marimuthu, VMware Domain Architect—Enterprise Architecture and Sunder Vudhya, VMware IT Direct...

Next
How VMware IT Modernizes Mission-Critical Apps with VMware Tanzu
How VMware IT Modernizes Mission-Critical Apps with VMware Tanzu

Propelling customer experiences through digital transformation VMware is undergoing significant digital tra...

SpringOne 2021

Register Now