• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Coding Bits

Free Java, Spring Resources

  • Spring

Spring Framework Introduction

May 3, 2019 by admin Leave a Comment

Spring Framework Introduction

What is Spring Framework

Spring Framework is a lightweight solution for building your enterprise ready software. It provides comprehensive infra support and allows the developers to quickly wire up their applications. It also allows the developers to focus on business logic.

Spring is so modular that you can selectively pick modules you need for your specific use case and don’t need to bother about other spring modules.

Spring became famous due to various problems that existed with the Enterprise Java Beans as it provided the Java developers with a better and much simpler approach to achieve the required business functionality.

Why use Spring Framework

There are plenty of reasons for building your next java application using spring.

  1. Spring is non-intrusive
    This means that your application or business logic does not depend on the framework code and is generally replaceable with other frameworks.
  2. Easily Testable code
    Due to non-intrusive nature of the spring applications it is very easy to test the spring applications.
  3. Flexibility and Easy Integration
    Spring gives flexibility to developers to integrate with other frameworks and libraries in different layers. For example Web frameworks like Struts, JSP in the web layer or JPA, Hibernate in the data layer.
  4. Ahead of curve in terms of introducing new technologies
  5. Spring was always ahead of curve in bringing new and better offerings for the developer community and kept on introducing new features together or even earlier than the Java releases, utilizing best java features and incorporating them in the framework.

Spring modules

The complete Spring Framework is modularized into various spring modules, close to 20 of them.
As shown in the figure below all these modules can be categorised into Core Container, Data Access/Integeration, Web, Aspect Oriented Programming(AOP), Messaging, Instrumentation and Test.

Spring Framework Modules
Spring Framework Modules

Spring Core Container

Core container provides the fundamental features of the spring framework and consists of spring-core, spring-beans, spring-context, spring-
context-support, and spring-expression

spring-core

Provides Spring module utilities.

spring-beans

Provides the core spring features like the IoC and Dependency Injection features

spring-context

Provides ApplicationContext providing a means to access objects.

spring-context-support

Provides support for integrating common
third-party libraries into a Spring application context, like caching.

spring-expressions

Provides a powerful Expression Language for accessing and
manipulating beans at runtime.

For more Information and Guides refer to following links
Spring Official Guides

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Filed Under: Spring

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Categories

  • Daily Coding Problem
  • Design Patterns
  • Java
  • Spring

Tags

Spring Spring5 Spring Beans Scope

Copyright © 2019 · Coding Bits on Genesis Framework · WordPress · Log in