WebMagic getting started with crawler
This example implements the capture of the latest movie source name list and the download address of the detail page of a movie website.
webmagic is an open-source Java vertical crawler framework. Its goal is to simplify the development process of crawlers and let developers focus on the development of logical functions.
WebMagic features:
Ful ...
Added by cyh123 on Wed, 11 Dec 2019 01:25:26 +0200
Spring cloud Finchley.RELEASE version 8 service link tracking Sleuth
Sleuth brief introduction
Microservice architecture divides services by services. Exposed interfaces may require many services to cooperate to complete an interface function. If any service on the link has problems, interface calls will fail. At this time, it is very difficult to find the microservices with problems. The main ...
Added by le007 on Tue, 10 Dec 2019 06:55:47 +0200
SpringBoot+MyBatisPlus+ElementUI step by step to build a project with front and rear end separated (with code download)
scene
Step by step, we will teach you to quickly build a spring boot project in IEDA:
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/87688277
Please refer to the following blog for plug-in installation
Use @ Data to install Lombok plug-in for SpringBoot project in IDEA
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/88 ...
Added by snap2000 on Mon, 09 Dec 2019 20:19:45 +0200
Java REST Client accessing Alibaba cloud 5.5 elastic search instance implementation
Development environment: InteliJ IDEA
Operating system: Mac OS Mojave
Elastic search version: Alibaba cloud 5.5.3 with x-pack
Client version: REST Client 5.5.3
1. Create Alibaba cloud ES instance in advance and open the public address access white list.
2. Pre create index and mapping (using Kibana Dev Tools)
PUT index_test
{
"mappings": ...
Added by shanejeffery86 on Mon, 09 Dec 2019 17:39:27 +0200
Scala development environment construction
At the beginning, I used eclipse development tools. After installing Scala, download the Scala Eclipse Plug-in and copy the feature s and plugin s in the compression package to the corresponding directory of eclipse tools. However, using Eclipse Maven to develop Scala projects is a bit of a pain. So, toss to toss to give up and ...
Added by AjithTV on Mon, 09 Dec 2019 03:52:28 +0200
Mybatis plus code generation
Previously, Maven generator was used to generate code. There was a problem in the configuration file from single module to multi module,
Use mybatis plus to generate code automatically instead.
Code cloud address: https://gitee.com/baomidou/mybatis-plus
github Address: https://github.com/baomidou/mybatis-plus
rely on
<dependency>
...
Added by jennatar on Mon, 09 Dec 2019 02:47:50 +0200
log4j2 hierarchical output log
In the development process of java mvc framework, we often divide the code into levels like controller (control layer), service (business layer), rpc (remote interface call layer), dao (data layer). If we print all the logs of all levels into one file, one is that the single log file is too large, and it is not convenient to view, so we conside ...
Added by curt3006 on Sun, 08 Dec 2019 01:48:22 +0200
Spring boot: let me show you the principle of automatic assembly
Preface
Spring is translated into Chinese as "spring". Indeed, in a certain period of time, it has brought spring to Java developers. However, with the expansion of our project scale, there are more and more places where spring needs to be configured. To exaggerate, "configuration takes two hours, Coding takes five minutes". ...
Added by rawisjp on Sat, 07 Dec 2019 08:32:54 +0200
Spring boot2 implements access to RabbitMQ image cluster
Spring boot2 implements access to RabbitMQ image cluster
Spring boot2 implements access to RabbitMQ image cluster
Brief description of RabbitMQ cluster
code snippet
Maven dependency: pom.xml
Configuration file: application.properties
Producer: RabbitmqProducerService.java
Consumer: RabbitmqConsumerService.java
Startup class ...
Added by learnphp1 on Thu, 05 Dec 2019 23:25:45 +0200
Self learning note 1: creating and building spring boot project through intellij idea
Thank you for your posts https://blog.csdn.net/typa01_kk/article/details/76696618 , but there are some differences. Please look down
On the basis of predecessors, I write about the differences in my current version
I. intellij idea version
My version is as follows
II. jdk version
Third, the differences under the projec ...
Added by inferium on Thu, 05 Dec 2019 11:26:09 +0200