Dubbo是阿里开源的一个微服务框架,性能很高,现在由Apache维护。 Dubbo的架构: http://dubbo.apache.org/zh-cn/docs/user/preface/architecture.html 此处写一个demo,订单服务获取订单所属用户的信息,order-servi ...
分类:
编程语言 时间:
2020-04-28 09:42:25
阅读次数:
125
版本:apache-maven-3.6.3 运行系统:Win10 Eclipse:Eclipse IDE for Enterprise Java Developers 2020-03 (4.15.0) 解压缩安装后,打开conf目录下的 settings.xml 文件; 在settings.xml文 ...
分类:
系统相关 时间:
2020-04-28 09:25:32
阅读次数:
107
技术回顾系列:最新最热门的技术大事 第一周 每一周我们都会回顾一下上周发生的有趣的事情,现在让我们来看看上周都发生了哪些事情吧: Apache Kafka 2.5.0发布了 Apache软件基金会在四月16日发布了最新的Apache Kafka 2.5.0版本。 该版本包含了最新的安全更新,新的指标 ...
分类:
其他好文 时间:
2020-04-28 09:23:55
阅读次数:
60
写在前面 数据库以mysql为例,首先导入mysql的jdbc的jar包。 连接池以Druid为例,首先导入druid的jar包。 crud(增删改查)以Apache-DBUtils为例,首先导入commons-dbutils.jar包。 一,JDBC 二,连接数据库代码: @Test public ...
分类:
数据库 时间:
2020-04-28 00:25:07
阅读次数:
86
1、添加依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</version></dependency> 2、service层public void download ...
分类:
其他好文 时间:
2020-04-28 00:15:04
阅读次数:
59
方法一: mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志 方法二: logging: level: com.chz.mapper: debug ...
分类:
数据库 时间:
2020-04-27 22:52:20
阅读次数:
698
1、进程池的作用 进程池来控制进程数目,比如httpd的进程模式,规定最小进程数和最大进程数 2、创建进程池的类Pool 如果指定numprocess为3,则进程池会从无到有创建三个进程,然后自始至终使用这三个进程去执行所有任务,不会开启其他进程 Pool([numprocess [,initial ...
分类:
编程语言 时间:
2020-04-27 21:02:25
阅读次数:
65
kafka集群管理工具kafka manager部署安装 kafka manager 是雅虎开源的apache kafka管理工具,是用Scala写,所以在web页面进行操作即可。 github地址:https://github.com/yahoo/CMAK 安装步骤 下载并编译源码 注意:编译需要 ...
分类:
其他好文 时间:
2020-04-27 17:55:05
阅读次数:
127
centos7安装Apache centos7安装mysql8 centos7安装php7 先登录mysql创建一个wordpress的数据库 下载wordpress https://cn.wordpress.org/ latest zh_CN 下载完后解压,然后把文件夹里面的内容都上传到服务器的/ ...
分类:
其他好文 时间:
2020-04-27 17:47:58
阅读次数:
48
1、maven依赖 <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore --><dependency> <groupId>org.apache.httpcomponents</groupId> <art ...
分类:
Web程序 时间:
2020-04-27 15:48:45
阅读次数:
205