Posts

Showing posts with the label Spring-Architecture

Spring Architecture

Image
In last Spring tutorial, we learned about the history and versions of Spring. This post will explain about the spring architecture and mostly used containers of spring. CORE CONTAINER The core container consists of Beans, Core, Context, SpEL. It consists of factory for creating beans and managing bean dependencies. 1) The Bean provides BeanFactory used for creating beans and also it is the implementation of factory pattern. 2) The Core container includes IoC(Inversion of Control) and DI(Dependency Injection). 3) The Context module builds on the solid base provided by the Core and Beans modules and it is a medium to access any objects defined and configured. The ApplicationContext interface is the focal point of the Context module. 4) The SpEL module provides a powerful expression language for querying and manipulating an object graph at runtime.   DATA ACCESS LAYER                               This layer is mainly for communicating with da