The simplest HelloWorld example of aspectJ

The simplest HelloWorld example of aspectJ This is the introduction of aspectJ. What's the difference between aspectJ and aop? aspectJ can also implement aop functions. aop generally refers to spring aop, which is a set of annotations such as @ Aspect/@Pointcut/@Before/@Around. The implementation prin ...

Posted by Benjigga on Wed, 19 Feb 2020 08:27:02 +0100

springboot2.x Integrated Web Service

background Recently, when some parts of the project call each other, they are not realized by Http(post/get), but by web service. Although they have been exposed to the way of web service before, they haven't had a chance to study it. They just imitate and write according to the rules and don't build ...

Posted by vanderlay on Tue, 18 Feb 2020 05:23:40 +0100

Java crawler (chrome driver + selenium Implementation) and webmagic framework

Background In order to get novel coronavirus epidemic data in time, the project team needs to construct a crawler running batch crawl data. You may be familiar with crawlers. Common crawler technologies include requests + LXM + beautiful soup in Python, or the crawler framework of python, such as th ...

Posted by mistcat on Mon, 17 Feb 2020 05:31:48 +0100

Spring MVC self study log 07 (Mybatic integration)

Integration steps Import related jar package <!--junit--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <!--mybatis--> <dependency> <groupId>org.mybatis& ...

Posted by jamal dakak on Thu, 13 Feb 2020 16:50:30 +0100

Spring boot project integrates websocket to realize connectivity

Spring boot project integrates websocket to realize connectivity brief introduction pom.xml introduces dependency Create websocket configuration file for spring boot project websocketServer core code An entity class not understood, annotated to be solved js of front-end page, creating websocket for ...

Posted by aahh on Wed, 12 Feb 2020 16:30:55 +0100

IDEA: getting started with Spring: IOC inversion of control

1, Writing process First create a web project using IDEA 1. Download the latest Spring development package (jar package) 2. Copy the jar package to the project project (under lib) 3. Write the core configuration file, for example (applicationContext.xml) 4. Read the Spring configuration file ...

Posted by beanman1 on Wed, 12 Feb 2020 15:11:01 +0100

Crazy God said that day1: idea2019.3.2+maven set up springboot project

Catalog 1.idea configures maven warehouse (alicloud image) 2. Use IDEA to quickly build springboot project 1. Select project construction method: default to go to official website. 2. Fill in project information 3. Select dependent components 4. Project name and project path 3. Running the spr ...

Posted by willc on Wed, 12 Feb 2020 11:41:54 +0100

Spring MVC - integration with spring

I. overview 1.1 ask questions Spring MVC is a part of spring. Do you need to integrate spring MVC? Do you need to add Spring's IOC container? Do you need to configure the ContextLoadListener in the web.xml file to start the Spring IOC container? 1.2 problem solving Need. The configuration fil ...

Posted by clodagh2000 on Wed, 12 Feb 2020 11:28:29 +0100

Spring learning precipitation

Spring learning precipitation Basic concepts Reactive && Servlet Reactive Servlet Spring annotation summary Assembly bean Configuration class Config Bean Test class Source learning Dependency injection and inversion of control (spring container) Application context BeanFactory Bean ...

Posted by satal keto on Sun, 09 Feb 2020 21:14:49 +0100

Spring Cloud exploration | distributed configuration center (Config Client)

The last chapter Spring Cloud exploration | distributed configuration center (Config Server) >, and then explain the configuration process of Config Client. Spring Cloud Config Client configuration process 1. pom.xml add dependency <parent> <groupId>org.springframework.boot</groupId> <artif ...

Posted by fareforce on Sun, 09 Feb 2020 16:41:09 +0100