Hello guys, earlier, I shared how to solve creating bean error in Spring Boot and today, I am going to explain how to deal with error related to started Application Context. Spring Bo… Read More
Hello guys, Spring Boot is a popular framework for building Java applications, providing a streamlined development experience. However, like any software, Spring Boot applications can encou… Read More
MapFormat
annotation bind the properties to a map. You can apply either of following
transformations to the MapFormat annotation.
a.
NESTED:
A nested map has the any key… Read More
@Property
annotation is used to inject a value associated with given property name.
Example@Property(name = "spring.datasource.communicationtimeout")
protected Integer communication… Read More
Introduction
We’ll look at Spock, a Groovy testing framework. Mainly, Spock aims to be a more powerful alternative to the traditional JUnit stack, by leveraging Groovy features.
By mak… Read More
In the post Spring Bean Life Cycle we have already seen that you can provide destroy methods for your beans to do clean up. One problem is that these destroy callback methods are not execut… Read More
In this post we'll see different bean scopes provided by the Spring framework.When you create a bean definition, you provide a configuration for creating actual instances of the class defin… Read More
If you are using JavaConfig in Spring to configure the bean definitions then, in order to modularize your configurations you can use @Import annotation in Spring. @Import annotation in Spr… Read More
Introduction to spring boot jdbctemplate example
Spring boot jdbctemplate example is used to create a connection between application API and database server. Spring boot jdbc template is a… Read More
When it comes to web development, the backend is something you can not compromise on. That being said, you must start with choosing the right backend framework to ensure a proper development… Read More
Definition of Spring Boot Qualifier
Spring boot qualifier is used when we need to create more than one bean for the same type and need to wired-only one bean. In this situation, we are usin… Read More
Definition of spring boot framework
Spring boot framework is an open-source technology which was used to create microservices, this framework is used to create stand-alone and production ap… Read More
The difference between BeanFactory and ApplicationContext in Spring framework is another frequently asked Spring interview question mostly asked Java programmers with 2 to 4 years experience… Read More
Introduction to JDBC template
JDBC template is the class which is provided in the spring framework for making the operations of the database from java application following the same JDBC co… Read More