I am a big fan of Reddit. The platform is great for learning and sharing programming knowledge… In fact, it contains so much knowledge and opinion, that there is no chance for any single person to analyze it all. Sounds like a job for a machine? Before we get started, we need to learn how to authenticate with the Reddit API. Continue reading “Reddit API Authentication with Java/Spring”
Category: Spring Boot
Using Spring Boot is the most popular way of building microservices in the JVM world. In this category, I write about everything that relates to this amazing framework.
Should you use Spring Boot in your project?
Spring Boot is enjoying, a seemingly never-ending growth of popularity. While only released in 2014, it has managed to overtake the Java serverside in less than five years. When starting a new project, a sensible question to ask is- “should I use a Spring Boot?”. In this article, I will help you answer this question! Continue reading “Should you use Spring Boot in your project?”
Java vs Groovy for Microservices
In the past three years, I was involved in developing microservices architectures. In Java, with Spring Boot and in Groovy with Grails. Perhaps risking some outrage, I will compare my experience in Java and Groovy, Spring Boot and Grails and give my opinion on what works best. Continue reading “Java vs Groovy for Microservices”
Spring Boot – Best Practices
Spring Boot is the most popular Java framework for developing microservices. In this article, I will share with you the best practices for working with Spring Boot that I have gathered by using it in professional development since 2016. I base these on my personal experience and writings of recognized Spring Boot experts. Continue reading “Spring Boot – Best Practices”
Using Redis in Microservices Architecture
In this article, we will look closer at a fascinating open source project. Meet Redis! You may be familiar with Redis already, in that case, you may be interested in the different use cases it has for microservices architecture. Read on to see how this “in-memory data structure store, database, cache, and message broker” can make your system better! Continue reading “Using Redis in Microservices Architecture”
The Quest for Simplicity in Java Microservices
There is great value in simplicity. When things are simple, they are easier to understand, easier to extend and easier to modify. They are better. Simplicity is the ultimate compliment you can give to an architecture or a framework. In this article, I look at how four different frameworks- Spring Boot, Javalin, Vert.x and Micronaut; approach this quest for simplicity. Continue reading “The Quest for Simplicity in Java Microservices”
CIA World Factbook API with Functional Spring
I have recently been very interested in microframeworks. One thing notably missing from that article is Spring in the context of a microframework. You may be surprised, but it is possible to write very lightweight APIs with Functional Spring. In this article, I will show you how, by turning CIA World Factbook into a REST API. Continue reading “CIA World Factbook API with Functional Spring”
WebFlux in practice – asynchronous service with WebClient
Building reactive microservices with WebFlux is fun and easy. In this article, I will show you how to build a reactive “synonyms” service. Making asynchronous API calls with WebClient is likely the most common scenario for a real-life reactive microservice. Continue reading “WebFlux in practice – asynchronous service with WebClient”
Getting Started with Kafka in Spring Boot
Kafka seems to only be gaining in popularity. A few years ago you could mostly see it in Big Data engineering context. These days, Kafka is starting to power more common message-oriented architectures. In this article, I want to give you a basic introduction to working with Spring Boot and Kafka. Continue reading “Getting Started with Kafka in Spring Boot”
The State of Spring in 2018 – Devoxx UK Impressions
Thanks to my company – Scott Logic – I recently had a pleasure of attending the Devoxx UK 2018 conference. Among many interesting talks and speakers, there were quite a few Spring celebrities present. Juergen Holler (Father of Spring), Josh Long and Mark Heckler were all there. Here are my impressions from the conference. Continue reading “The State of Spring in 2018 – Devoxx UK Impressions”