Spring.net (i) Introduction to----spring.net Framework and module description

Source: Internet
Author: User

The Spring framework is a natural beauty, because its advanced architecture and integration into a range of cutting-edge development ideas makes it popular with developers in its creation, applying design patterns to the top of the hierarchy, its elegance and charm conquering many Java developers, and making these developers their followers, With the programmer in mind, Spring has led the trend of Java EE development, while spring and the powerful combination of various frameworks have also put wings on the early flight of its followers, such as the Big Brother SSH (configuration cumbersome struts and hibernate, Spring integration), Up-and-Comer Ejsa (lightweight, flexible and 0-configurable easyjweb+jpa+spring+acegi, suitable for individuals and businesses that focus on efficient development) has come to maturity with Spring, creating endless conveniences for developers.

Then do it as. NET developer can we appreciate and savor spring's feast, and the answer is yes, the Spring development team has contributed to the application of the spring framework idea of Java and its applications. NET project development of the Spring.net framework. There are few Chinese materials on the Internet spring.net, Baidu is currently not searching for the Chinese information on spring.net, where we can use Chinese as far as possible to explain.

First, let's get to know Spring.net, in short spring.net is using a variety of powerful design patterns as tools to manage our project architecture. Spring.net uses excellent and time-tested design patterns that enable us to scientifically and rationally manage and integrate the various layers of our enterprise development and some of the decentralized components, and to coordinate and handle their relationships and enhance the robustness of the project.

Spring.net's IOC container solves the problem of how classes, objects, and service groups are synthesized in enterprise applications. The IOC container is used to combine dispersed components into a complete application in a way that is very orthodox (by: formalized, which means that these are all stereotypes that have been tested in the industry for years). The Spring.net framework is the best programming method that has been tested for years by countless applications in the industry, and in fact, these patterns have become the code for our architecture and development, and through spring.net we can integrate them directly into our own applications. There are many organizations and institutions that have developed strong, maintainable applications with the spring framework, which is a really good thing.

Module Description:

Spring.core as the foundation of the whole framework, the function of dependency injection is realized.

Most modules of spring.net rely on or extend the module. The Spring.core is based on the Iobjectfactory interface, which implements the factory pattern in a simple and elegant way, allowing us to not write our own singleton types and numerous service locators, and to decouple the object configuration and its dependencies from the specific program logic. The Iapplicationcontext interface in this module is an extension of the iobjectfactory, adding many enterprise-class features, including the use of resource files for text localization, event propagation, and resource loading, and so on.

Two. SPRING.AOP provides aspect-oriented programming (AOP) support for business objects.

AOP has perfected the functions of the IOC container and laid a solid foundation for the creation of enterprise applications and the use of declarative services.

Three. Spring.web has a series of functional extensions to ASP.net, including dependency injection for asp.net pages, bidirectional data binding, use of master page in ASP.net 1.1, and enhanced localization support.

Four. Spring.services allows any "normal" object, meaning an object that does not inherit any of the specified base types, to be published as an enterprise service (COM +) or a remote object.

By relying on injection and feature metadata coverage, the module allows the. NET Web services for a great deal of flexibility. Windows Background service is also supported.

Five. Spring.data defines an abstract data access layer that enables data access across a variety of data access technologies (from Ado.net to various ORM).

The module contains a Ado.net abstraction layer that reduces the amount of work done with traditional ado.net for encoding and transaction management.

Six. Spring.orm provides a consolidation layer for today's popular ORM class libraries, including declarative transaction management and many other functions.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.