Spring Boot

Spring Boot Lazy Initialization Example

Lazy Bean’s initialization is not a new topic for Spring developers. The spring framework supports lazy-init from over 10 years. By enabling lazy loading ( lazy-init=”true” ) for a bean, we tell spring container to not to create that bean until it’s needed. So, what is new in the spring boot lazy initialization feature that …

Spring Boot

Spring @Bean – What is Spring Bean with examples

The Spring framework is a popular framework that lets you create enterprise applications conveniently. The core of the spring framework is dependency injection. Dependency injection or dependency inversion is a way in which you decouple the conventional dependencies between objects. To understand dependency injection let’s take an example of the Student and Address class. As …

Spring Boot

Deploying Spring Boot application in Google Kubernetes

In this article, we will take a look at Kubernetes, the difference between Kubernetes and Docker, and how to deploy Spring boot application in Kubernetes. Kubernetes is an open-source container orchestration and management tool. Kubernetes can manage the container’s lifecycle. Furthermore, it can perform operations like container deployment, scaling-up & scaling-down the containers along with …

Spring Boot

Spring boot annotations with Example

Spring boot annotations with examples

Spring Boot is a popular Java-based framework that lets you create the standalone, production-ready enterprise application that you can just run. The Spring Boot framework provides many important features such as auto-configuration, opinionated starter POM and many more. The Spring boot framework allows you to focus on solving your business problems rather than spending hours …

Spring Boot

Spring boot hello world example

The Spring Boot is an open-source framework that is maintained by Pivotal. It provides Java developers, a framework to begin with a production-grade auto-configurable Spring application. It also enables the developers to rapidly start work and focus on solving business problems rather than wasting time in configuring their Spring application. Spring Boot is also an …