Category: Uncategorized

The Spring IoC (Inversion of Control) container manages Spring beans. A “Spring bean” is just a Spring managed instantiation of a Java class. The Spring IoC container is responsible for instantiating, initializing, and wiring beans. The container also manages the life cycle of beans. Spring provides several ways through which you can tap into the […]Continue reading

This past week I needed to upgrade my blog (Spring Framework Guru – aka SFG). This post is not going to be a technical how-to. But more of an overview targeted to new developers for them to see steps taken to migrate a production WordPress site to a new instance, with near zero downtime. Disclaimer […]Continue reading

Consumer Driven Contracts are considered a design pattern for evolving services. Spring Cloud Contract can be used to implement consumer driven contracts for services developed using the Spring Framework. In this post, I’ll take an in-depth look at using Spring Cloud Contract to create Consumer Driven Contracts. An Overview of Spring Cloud Contract Let’s consider a […]Continue reading

MySQL is the most popular open-source database management system. MySQL uses a relational database and Structured Query Language (SQL) to manage its data. In this post, I’ll show you how to install MySQL on Ubuntu. Installing MySQL There are two ways to install MySQL on Ubuntu. First is to use one of the versions included […]Continue reading

An exciting feature in Spring Framework 5 is the new Web Reactive framework for allows reactive web applications. Reactive programming is about developing systems that are fully reactive and non-blocking. Such systems are suitable for event-loop style processing that can scale with a small number of threads. Spring Framework 5 embraces Reactive Streams to enable […]Continue reading

If you’re following the Java community, you may be hearing about Reactive Streams in Java. Seems like in all the major tech conferences, you’re seeing presentations on Reactive Programming. Last year the buzz was all about Functional programming, this year the buzz is about Reactive Programming. In 2016 the buzz was all about Functional programming. […]Continue reading

Out of the box, Spring Boot is very easy to use with the H2 Database. Spring programmers typically prefer writing code against such lightweight in-memory database, rather than on an enterprise database server such as Microsoft SQL Server or Oracle. In-memory databases come with several restrictions making them useful only in the development stages in […]Continue reading

I’ve been playing with Docker a lot recently to deploy Spring Boot applications.  Docker is very cool. I’ve been learning a lot about it. This is my unofficial Docker Cheatsheet. Use with caution! Got any tips and tricks? Comment below, and I’ll try to update this. List all Docker Images docker images -a List All Running […]Continue reading

This week, I had a student ask me how they could use a Java function to access the database from a Thymeleaf template. Thymeleaf is a modern templating engine. And accessing the database directly from Thymeleaf is certainly something you could do. But is it really something you want to do? I’ve worked for a […]Continue reading