Java框架篇
呵呵哒666
懒人有懒福
展开
-
(Maven项目)Springboot+Mybatis+Logback+Dubbo+Zookeeper
(Maven项目)Springboot+Mybatis+Logback+Dubbo+Zookeeper 准备工作: 1、jdk安装 2、eclipse安装 3、maven安装 4、mysql安装(创建测试数据库:test) 5、postman安装(用于请求测试) 5、zookeeper安装配置(验证启动成功后继续下一步) 6、dubbo-admin安装配置(验证启动成功后继续下一步) 一、新建ma...原创 2019-06-28 14:26:45 · 387 阅读 · 0 评论 -
SpringBoot与dubbo常用注解功能汇总
Dubbo注解: @service:表示提供者 @reference:表示消费者 Spring注解: @controller:请求注解,可以返回数据和页面 @RequestBody:设置请求参数格式json @ResponseBody:设置返回参数格式json @RequestMapping/@GetMapping/@PostMapping(隐含method=RequestMethod.POST)...原创 2019-07-04 15:52:06 · 1366 阅读 · 0 评论 -
springboot-之logback篇
1、logback配置: logback-spring.xml配置如下. <?xml version="1.0" encoding="UTF-8"?> <configuration> <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <include...原创 2019-08-02 09:10:07 · 89 阅读 · 0 评论