Blog Layout

How to Best Use Java Records as DTOs in Spring Boot 3

With the Spring 6 and Spring Boot 3 releases, Java 17+ became the baseline framework version. So now is a great time to start using compact Java Records as Data Transfer Objects (DTOs) for various database and API calls. Whether you prefer reading or watching, let’s review a few approaches for using Java records as DTOs that apply to Spring …

Read More »

Authenticate with OpenID Connect and Apache APISIX

Lots of companies are eager to provide their identity provider: Twitter, Facebook, Google, etc. For smaller businesses, not having to manage identities is a benefit. However, we want to avoid being locked into one provider. In this article, I want to demo how to use OpenID Connect using Google underneath and then switch to Azure. OpenID Connect The idea of …

Read More »

Exhaustive JUnit5 Testing with Combinations, Permutations and Products

Unit testing constitutes an integral part of the process of providing high-quality software. But, how can one write tests covering all variants of several operations? Read this article and learn how to use JUnit5 in conjunction with combinations, permutations, and products. Test Support Libraries There are many libraries that make testing better in different aspects. Here are some of them: …

Read More »

Using Bookmarks in IntelliJ IDEA

In this tutorial, we’re going to take a look at using bookmarks in IntelliJ IDEA. Bookmarks can come in handy while navigating a codebase, when you see something interesting that you want to come back to later. You could use Recent Files (⌘E on macOS, or Control+E on Windows/Linux) to find it, but then you have to remember which file …

Read More »

Making SBOMs, Threats, and Modelling Them a Piece of Cake!

The third in a series of SBOMs, software supply chains, the government and you (you too, no exceptions). Yes, just like the previous articles, we have cake this time too – this one is a three tiered extravaganza! So… still with us? Good! Earlier, Steve Poole showed us his digital mixing bowl, telling us how applications and their dependencies were …

Read More »

Java, Friends, and Cold Weather: My Adventure at ConFoo Conference

I attended the ConFoo conference in Montreal, which covered a range of technologies like cloud computing, Java and JVM technologies, Javascript, DevOps, architecture and design patterns, PHP, security, test and quality, management, UX and UI, and more. The conference took place over three days at the Bonaventure Hotel in Montreal, but I could only attend on the second day. To …

Read More »

Foojay Podcast #15: Japan JUG

Last month we were in the US, and this time we travel to the other side of the world as we spoke with the organizers of the Japan JUG! Guests Shin Tanimoto https://twitter.com/cero_t  https://www.linkedin.com/in/shintanimoto/ Ayana Yokota https://twitter.com/ihcomega https://www.linkedin.com/in/ayana-yokota-ihcomega/ Maaya Ishida https://twitter.com/maaya8585 https://www.linkedin.com/in/maaya-ishida-5486b7109/  Host Frank Delporte (@frankdelporte@foojay.social, @frankdelporte) Links JJUG (Japan JUG) Contact: https://jjug.doorkeeper.jp/contact/new  https://twitter.com/JJUG  https://facebook.com/japanjug  JOnsen: https://jonsen.jp JJUG CCC 2023 …

Read More »

Migrating Applications to TornadoVM v0.15 (Part 2)

In the previous blog, we discussed the TornadoVM programming model and showed how programmers can define the parts of their Java applications to be offloaded for hardware acceleration via the TornadoVM API (v0.15). In this article, we will spotlight all the TornadoVM configurations/operations that regard the execution on the hardware device. In particular, this blog has the following objectives: Provide …

Read More »

Is it Time to go Back to the Monolith?

History repeats itself. Everything old is new again and I’ve been around long enough to see ideas discarded, rediscovered and return triumphantly to overtake the fad. In recent years SQL has made a tremendous comeback from the dead. We love relational databases all over again. I think the Monolith will have its space odyssey moment again. Microservices and serverless are …

Read More »