Category: Uncategorized

If you need to quickly create a JPA-based repository layer, Spring Data JPA is the right choice. You define your repository interface by extending one of the Spring Data JPA Repository interfaces.  At runtime, Spring Data JPA will create your repository implementations with the common CRUD methods. You can then perform CRUD operations without writing […]Continue reading

Java 8 introduced a new date and time API defined inside java.time package. The key date and time classes defined in this package are LocalDateTime, ZonedDateTime, and OffsetDateTime. OffsetDateTime represents a date-time with an offset. This class stores all date and time fields, to a precision of nanoseconds, as well as the offset from UTC/Greenwich. For […]Continue reading

Modern Enterprise application development using the Spring framework makes use of containerization technology, such as Docker to ship and run applications. Building an application, packaging it, then building the image, and pushing images to an image registry is cumbersome if done manually. In addition, each time you make any changes to the codebase, you need […]Continue reading

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