Mainstream Framework Learning - mybatis (java review day21)

I. mybatis Foundation 1. Analysis of Starter Case Design Mode public static void main(String[] args) throws Exception{ //Read Configuration File InputStream in = Resources.getResourceAsStream("SqlMapConfig.xml"); //Create SqlSessionFactory Factory /* Creating factory mybatis uses build ...

Posted by son.of.the.morning on Sat, 20 Jun 2020 19:15:42 -0700

Understand the Spring Web zero xml configuration principle and parent-child container relationship this time

preface When using the old versions of Spring and Spring MVC for development, we need to configure a lot of XML files, which is very cumbersome. It is also very bad to let users choose their own configuration. Based on the stipulation that the Convention is greater than the configuration, Spring provi ...

Posted by croix on Fri, 19 Jun 2020 23:54:06 -0700

xml-based AOP in Spring

1. The whole process of Aop is Aspect Oriented Programming, which is a technology for facet-oriented programming, to achieve the same maintenance of program functions through pre-compilation and run-time dynamic agents.Aop is the continuation of oop, a hot spot in software development, and an important content in Spring framework.It is a derive ...

Posted by Bikkebakke on Fri, 19 Jun 2020 17:58:24 -0700

Face recognition based on opencv+python+pycharm

Face recognition based on opencv+python+pycharm catalog preface preparation in advance Face detection Sample collection Sample training epilogue preface I am a sophomore in the University, programming rookie. Recently, I did the final course design, and the topic I chose was face recognition. W ...

Posted by meritre on Fri, 19 Jun 2020 04:31:25 -0700

Work summary of static module of thmeleaf page of B2C e-commerce project

1, Thymeleaf 1.1 introduction to Thymeleaf Thymeleaf is an XML/XHTML/HTML5 template engine, which can be used for application development in Web and non Web environments. It is an open source Java library, based on the Apache License 2.0 license, created by Daniel Fern á ndez. The author is a ...

Posted by jane on Fri, 19 Jun 2020 04:29:57 -0700

a21_Python development web crawler - learning notes

Select reference Because I am learning to write at the same time, rather than starting to write in a very organized way after I have learned it completely, so reference materials are very important (originally personal development experience is very important, but I am zero Foundation) Official Py ...

Posted by zero816 on Fri, 19 Jun 2020 03:15:13 -0700

Java day 38, Spring framework series, dependency injection -- profile injection

1, What is dependency injection Dependency management is managed and maintained by the spring framework. Other class resources needed by the current class are provided by spring. We only need to declare them in the configuration file. The maintenance of dependency is called dependency injection 2, ...

Posted by DarrenReeder on Thu, 18 Jun 2020 19:12:48 -0700

Spring Boot: elegant use of the API documentation tool Swagger2

introduction You must have been tortured by interface documents in the development process. Due to the lightweight and low coupling of RESTful interface, we did not update the documents in time after modifying the interface, resulting in frequent complaints from the interface callers (both front-end a ...

Posted by pk99 on Thu, 18 Jun 2020 18:55:13 -0700

Bean singleton managed objects and prototype managed objects

Object of single case management When scope = singleton, that is, by default, it is instantiated when the container is started (that is, when the container is instantiated). But we can specify the lazy init = "true" of the bean node to delay the initialization of the bean. In this case, the be ...

Posted by fluvly on Thu, 18 Jun 2020 18:38:31 -0700

[Spring framework] Introduction to Spring's IOC

IOC introduction of Spring Spring's IOC idea One of Spring's core ideas: IOC (Inversion Of Control) Inversion Of Control. Inversion Of Control (IOC): it is an important feature of the framework to hand over the creation, initialization, destruction and other work of objects to the framework. It's no ...

Posted by Robin M on Thu, 18 Jun 2020 03:34:40 -0700