Spring AOP interview questions
What is AOP and how does it work in Spring? AOP stands for Aspect Oriented Programming, which is a programming paradigm that enables developers to modularize crosscutting concerns in their…
What is AOP and how does it work in Spring? AOP stands for Aspect Oriented Programming, which is a programming paradigm that enables developers to modularize crosscutting concerns in their…
In Spring Boot, you can disable specific auto-configuration properties by using the spring.autoconfigure.exclude property. This property can be set in the application.properties or application.yml file, and it takes a comma-separated…
In Spring Boot, you can change the context path of your application by setting the server.servlet.context-path property in the application.properties or application.yml file. Using Application Properties file: For example, if…
In this tutorial, we will see how to run code immediately after spring boot application start. There are cases where we need to run tasks after application started. upgrade step…
In Spring Boot, there are a couple of ways to log SQL statements in order to debug and troubleshoot any issues with the application’s database interactions. Using Application Properties You…
Inversion of Control Inversion of Control (IoC) is a programming principle that is at the core of the Spring Framework, and it is a design pattern that decouples the creation…
This is most common interview question asked on spring framework. Differences between BeanFactory and ApplicationContext in Spring: BeanFactory is a light-weight container that is used to instantiate, configure, and manage…
In Spring Boot, you can configure the server port by setting the server.port property in the application.properties or application.yml file. 1. Application Properties and YAML file Here’s an example of…
In this tutorial, We will see how autowiring works in spring and this is also one of most common interview questions in spring framework. In Spring, All beans are managed…
In this tutorial, we will learn on spring data with PagingAndSortingRepository interface. PagingAndSortingRepository is another Spring Data repository interface, which builds upon the CrudRepository interface and adds support for pagination…