Spring 7 -- developing spring based on annotation

Developing spring based on annotation There are two forms of spring IOC containers: (1) XML configuration file: applicationContext.xml ; Save bean: < bean > Take bean: ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml"); (2) Annotation: class with @ Configuration annotation (Configuration class) De ...

Posted on Wed, 24 Jun 2020 23:02:23 -0400 by sunil.23413

Property Injection

Injection in springboot Basic Property Injection @Value Object Mode Injection @ConfigurationProperties Comparison of two injection modes Injection Details Profile Injection Value Data Check@Validated Load the specified configuration file @PropertySource Import Spring's Configuration File@ImportResou ...

Posted on Wed, 24 Jun 2020 22:41:17 -0400 by RonDahl

Servlet learning notes

Three configuration modes of Servlet Mode 1: precise configuration Must be in exact path, plus / SOS to access For example: http://localhost:8080/ServletProject/SOS <url-pattern>/SOS</url-pattern> Mode 2: fuzzy configuration As long as it ends with. do, you can access For example: htt ...

Posted on Wed, 24 Jun 2020 22:34:01 -0400 by kb9yjg

3: 08: Android DataBinding from entry to advanced

Data binding is a framework officially released by Google. As the name implies, it is data binding. It is an implementation of MVVM mode on Android. It is used to reduce the coupling between layout and logic and make the code logic clearer. MVVM, as opposed to MVP, actually replaces the Presenter lay ...

Posted on Tue, 23 Jun 2020 23:49:02 -0400 by gusaps

SSM learning notes - (spring MVC + Spring + mybatis) configuration (eclipse)

I've heard the teacher said that the whole family bucket of spring framework has never known what it is. I read a lot with a sense of mystery and didn't really understand it. I simply learned the configuration of SSM framework by taking the opportunity of practical training. Spring, as a novice of Xi ...

Posted on Tue, 23 Jun 2020 04:20:34 -0400 by galewis

AOP development specification and steps of Spring framework based on AspectJ

Relationship between AOP and dynamic agent: AOP terminology: Horizontal focus: Functions to be added to the business code (called crosscutting concerns in the target object and notifications in the aspect class) Section class: Classes that encapsulate enhanced methods (horizontal concerns) Notice: ...

Posted on Tue, 23 Jun 2020 01:11:30 -0400 by trp

Maven project uses Checkstyle to check code

Catalog Maven project uses Checkstyle to check code Configure checkstyle-IDEA plug-in in idea Configure using Checkstyle in Maven projects Single module maven project Multi-module maven project Configuration in Jenkins abnormal Reference resources Maven project uses Checkstyle to check code ...

Posted on Mon, 22 Jun 2020 22:19:38 -0400 by Trevors

Servlet-related Technology

Servlet-related Technology Previously, no tools were used for development.Development is cumbersome, start here and import the project into idea Import projects into IDEA and develop (1) Import Project (2) Create a new src directory to facilitate the development of java code such as servlet s in t ...

Posted on Mon, 22 Jun 2020 21:30:57 -0400 by QWERTYtech

Application context context context of Spring key interface

catalog 1.ServletContextListener interface 2.ApplicationContextInitializer interface 2.1 integration mode of springboot 2.2 integration mode of spring MVC 3.ApplicationListener interface and supporting classes 3.1 ApplicationListener interface and supporting class ApplicationEvent 3.2 Applicat ...

Posted on Mon, 22 Jun 2020 03:30:06 -0400 by d_mc_a

You even go to the server to search for logs. Isn't it delicious to set up a log collection system!

abstract ELK log collection system advanced use, this article mainly explains how to build a real and available online environment log collection system. With it, you can say goodbye to go to the server to search for logs! ELK environment installation ELK refers to the log collection system built ...

Posted on Mon, 22 Jun 2020 02:32:07 -0400 by ChrisF79