Posts

Showing posts with the label Spring-Tutorial

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

Spring History

Image
The first version of Spring was written by Rod Johnson , who released the framework with the publication of his book Expert One-on-One J2EE Design and Development in October 2002. The framework was first released under the Apache 2.0 license in June 2003. As of Spring Framework 5.1, Spring requires JDK 8+ (Java SE 8+) and provides out-of-the-box support for JDK 11 LTS. Spring is open source. It has a large and active community that provides continuous feedback based on a diverse range of real-world use cases. This has helped Spring to successfully evolve over a very long time. Spring continues to innovate and to evolve. Beyond the Spring Framework, there are other projects, such as Spring Boot, Spring Security, Spring Data, Spring Cloud, Spring Batch, among others. It’s important to remember that each project has its own source code repository, issue tracker, and release cadence. See spring.io/projects for the complete list of Spring projects. Below are the versio