Spring overall OA credit disk two-sided disk source building structure

Source: Internet
Author: User
Tags to domain

  • Core Container
  • Core Container contains four modules of core,beans,context,expression language.

    Core and beans are the basic parts of spring, providing IOC (control inversion) and dependency injection.

    Core module: See the name of the meaning is the heart of the idea. The module mainly contains spring's basic core tool class, and the other components of spring use the classes, and the core module is the basic kernel of the other components.

    The beans module is used by all applications and contains classes that access configuration files, create and manage beans, and perform (IOC/DI) operations.

    Built on core and beans, the context module provides a framework-based approach to object access similar to Jndi (Java Naming and directory interface, detail Baidu) registrar. The context module provides a number of extensions to the core of spring. The ApplicationContext interface is the key to the context module.

    The expression Language module provides a powerful expressions language for querying and manipulating objects at run-time.

      1. Data access/integration

    The Data access/integration contains five modules of JDBC,ORM,OXM,JMS and transaction.

    The JDBC module provides a JDBC abstraction layer that eliminates lengthy jdbc coding and resolves database vendor-specific error codes. This module contains the classes that spring encapsulates for JDBC data access.

    ORM (Object-relational mapping) The module is an object-relational mapping API.

    The OXM module provides an abstraction layer for the Object/xml mapping implementation, including JAXB,CASTOR,XMLBEANS,JIBX and XStream for the object/xml mapping implementation.

    The JMS (Java Messaging Service) module mainly contains some of the characteristics of manufacturing and consuming information.

    The Transcation module hosts programmatic and declarative transaction management, which must implement a specific interface and be used for all Pojo (Simple Java objects, which do not inherit any classes, do not implement any interfaces, and are not implemented by framework Java objects).

      1. Web

    Built on the application context module, for the OA credit disk based on the two sides of the source code building buckle 3266397597 "dashengba.com" The Holy Source Forum application provides a context. Therefore, the spring framework supports integration with Jakarta struts. The Web module also simplifies the process of working with multipart requests and binding request parameters to domain objects. The WEB layer also contains the web,web-servlet,web-struts and Web-porlet modules

    The Web module provides the underlying web-oriented integration features. It also contains the relevant parts of the web in spring remote support.

    Web-servlet module Web.servlet.jar: This module contains the Spring Model-view-controller (MVC) implementation. The Spring MVC Framework is a clear separation between model-scoped code and Web Forms, and integrates with other features of the spring framework.

    The Web-struts module provides support for struts.

    The Web-porlet module provides an implementation of MVC for Porlet environments and Web-servlet modules.

      1. Aop

    The AOP module provides a facet-oriented implementation that conforms to the AOP Federation standard. It allows us to define, for example, interceptors and pointcuts to separate the logic code and reduce the coupling between them. You can also incorporate various behavioral information into your code using the Source-level metadata feature.

    The spring AOP module provides transaction management services for objects in spring-based applications. By using spring AOP, you can inherit declarative transaction management into your application without relying on EJB components.

    The aspects module provides integrated support for object ASPECTJ.

    The instrumentation module provides class instrumentation support and ClassLoader implementations that can be used on specific application servers.

      1. Test

    The test module supports testing of spring components using JUnit and testng.

    Spring overall OA credit disk two-sided disk source building structure

    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.