Fighting for interview 1:spring

Source: Internet
Author: User
Tags aop

1 What is Spring?

Spring the core concept of the entire series is the IOC, the literal meaning of AOP,IOC is control inversion, the meaning of inversion is that, in the development, object creation work, object and object relations between the association to the IOC container, so that it in the runtime dynamic creation of objects, dynamic creation of association relations, The techniques used are mainly reflection and dynamic proxies. Therefore, in the process of development, we want to interface-oriented programming, so that in the run time, inject different subclasses, to achieve effective extension and modification.

AOP is the aspect-oriented programming, in OOP, the relationship between objects and objects is a longitudinal relationship, not suitable for horizontal relations, AOP is an effective complement to OOP, he is concerned with landscape. In the design of the development, there are some and the actual business logic is not related, but some work with the use of the work, if they are designed in oop, are some repetitive work, such as transaction management, log management and so on, then we do the horizontal processing, in use, the dynamic cut into the logic code, That does not affect the original business logic, but also adds functionality.

2 Advantages of Spring?

3 What can spring do?

4 Spring's internal implementation process?

Fighting for interview 1:spring

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.