springcloud alibaba
「已注销」
业精于勤荒于嬉,行成于思毁于随
展开
-
Spring Cloud Alibaba
什么是 Spring Cloud Alibaba?1、阿里巴巴结合自身微服务实践,开源的微服务全家桶2、在Spring Cloud 项目中孵化,很可能成为Spring Cloud 第二代的标准实现3、在业界广泛使用,已有很多成功案例真实应用场景1、大型复杂的系统,例如大型电商系统2、高并发系统,例如大型门户,秒杀系统3、需求不明确,且变更很快的系统,例如创业公司业务系统...原创 2019-06-27 17:51:25 · 9480 阅读 · 2 评论 -
spring cloud alibaba 整合RestTemplate
GET 方法public static void main(String[] args) { // springcloud 整合 RestTemplate demo RestTemplate restTemplate = new RestTemplate(); // 用HTTP 的 get 方法 请求 ,并且返回一个对象 String restTemplate...原创 2019-08-15 12:46:47 · 554 阅读 · 0 评论 -
spring cloud alibaba nacos
搭建nacos server下载nacos下载地址https://github.com/alibaba/nacos/releases搭建nacos serverhttps://nacos.io/zh-cn/docs/quick-start.html访问http://192.168.1.19:8848/nacos/index.htmlnacosnacos...原创 2019-08-15 13:18:59 · 109 阅读 · 0 评论 -
spring cloud alibaba 整合 Ribbon
restTemplate 整合 Ribbon// 在spring 容器中创建 类型是 RestTemplate 名称:/ID restTemplate@Bean// 引入Ribbon RestTemplate整合Ribbon@LoadBalancedpublic RestTemplate restTemplate(){ return new RestTemplate();...原创 2019-08-15 14:36:28 · 914 阅读 · 0 评论