上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: Eureka集群搭建 高可用集群配置 当注册中心扛不住高并发的时候,这时候 要用集群来扛; 普通操作 我们再新建两个module microservice-eureka-server-2002 microservice-eureka-server-2003 pom.xml <?xml version 阅读全文
posted @ 2019-11-20 19:33 chenjiahao 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Springcloud简介 pring Cloud是一系列框架的有序集合。它利用Spring Boot的开发便利性巧妙地简化了分布式系统基础设施的开发,如服务发现注册、配置中心、消息总线、负载均衡、断路器、数据监控等,都可以用Spring Boot的开发风格做到一键启动和部署。Spring Clou 阅读全文
posted @ 2019-11-18 20:15 chenjiahao 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 项目目录: a、quartz调度框架是有内置表的 进入quartz的官网http://www.quartz-scheduler.org/,点击Downloads, 下载后在目录\docs\dbTables下有常用数据库创建quartz表的脚本: 把tables_mysql.sql导入自己的mysql 阅读全文
posted @ 2019-11-17 11:24 chenjiahao 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Quartz简介及应用场景 1. Quartz介绍 任务调度框架“Quartz”是OpenSymphony开源组织在Job scheduling领域又一个开源项目,是完全由java开发的一个开源的任务日程管理系统, “任务进度管理器”就是一个在预先确定(被纳入日程)的时间到达时,负责执行(或者通知) 阅读全文
posted @ 2019-11-14 20:25 chenjiahao 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 导入pom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> application.yml文件 阅读全文
posted @ 2019-11-13 22:46 chenjiahao 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 首先导入pom依赖: 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-data-redis</artifactId> 4 </dependency> 5 <d 阅读全文
posted @ 2019-11-13 16:25 chenjiahao 阅读(917) 评论(0) 推荐(0) 编辑
摘要: springboot配置数据连接池druid Druid是阿里巴巴开发的号称为监控而生的数据库连接池,Druid是目前最好的数据库连接池。 在功能、性能、扩展性方面,都超过其他数据库连接池,同时加入了日志监控, 可以很好的监控DB池连接和SQL的执行情况配置pom依赖 <dependency> <g 阅读全文
posted @ 2019-11-10 11:00 chenjiahao 阅读(544) 评论(1) 推荐(0) 编辑
摘要: Thymeleaf模板 关于Thymeleaf的优点,我只说一条:它就是html页面。 Thymeleaf的pom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-t 阅读全文
posted @ 2019-11-08 18:30 chenjiahao 阅读(859) 评论(0) 推荐(0) 编辑
摘要: SpringBoot是什么? Spring Boot它本身并不提供Spring框架的核心特性以及扩展功能,只是用于快速、敏捷地开发新一代基于Spring框架的应用程序。也就是说,它并不是用来替代Spring的解决方案,而是和Spring框架紧密结合用于提升Spring开发者体验的工具。 同时它集成了 阅读全文
posted @ 2019-11-07 17:12 chenjiahao 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Java注解(Annotation) Java注解是附加在代码中的一些元信息,用于一些工具在编译、 运行时进行解析和使用,起到说明、配置的功能。 注解相关类都包含在java.lang.annotation包中。 JDK基本注解 @Override 重写 @Deprecated 已过时 @Suppre 阅读全文
posted @ 2019-11-06 19:27 chenjiahao 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页