Category: Javaskool Category

What is Application Context? 0

What is Application Context?

A bean factory is fine to simple applications, but to take advantage of the full power of the Spring framework, you may want to move up to Springs more advanced container, the application context....

What is Bean Factory ? 0

What is Bean Factory ?

A BeanFactory is like a factory class that contains a collection of beans. The BeanFactory holds Bean Definitions of multiple beans within itself and then instantiates the bean whenever asked for by clients. BeanFactory...

What are the advantages of Spring framework? 0

What are the advantages of Spring framework?

The advantages of Spring are as follows: Spring has layered architecture. Use what you need and leave you don’t need now. Spring Enables POJO Programming. There is no behind the scene magic here. POJO...

What are features of Spring ? 0

What are features of Spring ?

Lightweight: spring is lightweight when it comes to size and transparency. The basic version of spring framework is around 1MB. And the processing overhead is also very negligible. Inversion of control (IOC): Loose coupling...

What is Spring ? 0

What is Spring ?

Spring is an open source framework created to address the complexity of enterprise application development. One of the chief advantages of the Spring framework is its layered architecture, which allows you to be selective...

What are the different types of IOC (dependency injection) ? 0

What are the different types of IOC (dependency injection) ?

There are three types of dependency injection: Constructor Injection (e.g. Pico container, Spring etc): Dependencies are provided as constructor parameters. Setter Injection (e.g. Spring): Dependencies are assigned through JavaBeans properties (ex: setter methods). Interface...