3G
. I write about Java, Spring, Software Engineering, Leadership, and sometimes personal stuff like Board Games and OneWheels. Connect with me via social networks linked below.
JWT Cookie Auth with Spring Security
Intro I’ve been working on a Board Game Collection side project. The backend is Spring Boot with a Neo4J database. Mostly, I use this project as a learning tool as well as for personal use. I built a small mobile app as the client in Flutter but over time realized native mobile was unnecessary. So as another learning opportunity I’ve been bouncing back and forth between using JTE with HTMX as well as learning Svelte. ...

Spring Modulith Part I: Up and Running
What if you could work in a monolith project while making it easier in the future to pull out modules into their own services? What if you had a way to know that you’ve too tightly coupled components together? Enter Spring Modulith
Back to Hugo for This Blog
The very first time I started blogging I used a Java based blogging platform called Pebble. If you look at it, you’ll understand how long ago that was. Blogging had just become something people did and I had some level of success mostly due to the newness of it all. I was writing “how-to” articles and they seemed to resonate. At that time I was also heavily involved with CodeRanch, formally known as JavaRanch. So I would often take my answers there, and expound on them on my blog. ...
Testing Spring Data JDBC Repositories with Test Containers
Recently, for a side project, I’ve gone through the motion of Spring Data JPA to JDBC and then found a middle-ground with Spring Data JDBC. I’ve come to loathe ORM’s but I don’t need to hand wire SQL statements into Row Mappers for basic CRUD operations. Spring Data JDBC seems to be as close to an ORM (it’s essentially a Row Mapper) as I want to get. Plus, I can always revert down to JDBC with JdbcTempate if I want. ...

What TODO After TODO
The ToDo app. We’ve probably all written one. Likely for the same reasons. Either we were learning how to code for the first time or we were learning a new langauge/stack.

React Native AuthProvider
There was a time when authentication was different in every single React Native application. Over time, the community / industry seems to have settled on a standard assuming no reliance on a third party library. Using a simple hook with context with some sort of secure storage mechanism for reloads is surprisngly simple and elegant.