Tag: spring bean

The Spring Ioc container is at the core of the Spring Framework. BeanFactory and ApplicationContext provide implementations of the IoC container. Both BeanFactory and ApplicationContext are interfaces and there are several implementations that come out of the box with Spring. In this post, I will explain the differences between BeanFactory and ApplicationContext. Major Differences between […]Continue reading

In this post, I’ll explain how to work with Autowiring In Spring First, we’ll begin with a brief introduction about Autowiring. Then, we’ll look at the different modes of Autowiring using XML configuration. Finally, we’ll look at @Autowired annotation with its different modes. Introduction Spring provides a way to automatically detect the relationships between various […]Continue reading

Polyglot Programming Is the practice of programming in multiple programming languages. According to Wikipedia it is – In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it. In […]Continue reading

There are several ways of defining Spring Beans in the Spring Framework. Each method has its own advantages and disadvantages. You may be wondering which one should you use. The answer is, it depends. The reality is in a large enterprise Spring project, you will likely encounter a combination of methods in defining Spring Beans. […]Continue reading