当前位置: 首页 > news >正文

如何在网站中加入百度地图南宁网站seo外包

如何在网站中加入百度地图,南宁网站seo外包,网站制作的流程包括哪些,网站的域名空间微服务技术栈 总结 微服务技术对比 技术栈 SpringCloud SpringCloud是目前国内使用最广泛的微服务框架。官网地址:https://spring.io/projects/spring-cloud Springboot和SpringCould兼容性 代码目录结构如下 用于远程调用Bean 代码 package cn.itcast.order.config;//import …

 微服务技术栈

 

 

 

 

 总结

微服务技术对比

技术栈

 SpringCloud

         SpringCloud是目前国内使用最广泛的微服务框架。官网地址:https://spring.io/projects/spring-cloud

  Springboot和SpringCould兼容性

 

代码目录结构如下

 用于远程调用Bean

 代码

package cn.itcast.order.config;//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;@Configuration
public class RestTemplateConfig {@Bean
//    @LoadBalanced // 添加负载均衡注解public RestTemplate restTemplate() {return new RestTemplate();}
}

 方法执行过程过程

OrderController

 OrderService
 OrderMapper

 UserMapper

 Order
 User
远程调用成功截图

访问

 总结   

        微服务调用方式基于RestTemplate发起的http请求实现远程调用http请求做远程调用是与语言无关的调用,只要知道对方编辑端口、接口路径、请求参数即可。

Eureka消费者与提供者

服务提供者:一次业务中,被其它微服务调用的服务。(提供接口给其它微服务)

服务消费者:一次业务中,调用其它微服务的服务。(调用其它微服务提供的接口)

        提供者和消费者是相对的,一个服务可能既是提供者又是消费者。

 

 

 

 

pom.xml引入依赖服务端依赖

<dependencies><!--eureka服务端--><dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-netflix-eureka-server</artifactId></dependency></dependencies>

 

注册userservice

 use pom.xml引入服务管理依赖

      <dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-netflix-eureka-client</artifactId></dependency>

 

成功服务截图

 复制多个实例

操作如下

 输入 -Dserver.port=8082

 点击确定

 

成功注册两个实例

 Eureka服务注册总结

        服务注册是微服务架构中的关键环节,保证各服务之间的发现和调用。

1引入依赖

在pom文件中eureka-client依赖:

<dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
2配置文件

在application.yml文件,添加服务名称、eureka地址:

spring:application:name: userservice
eureka:client:service-url:defaultZone: http://127.0.0.1:1086/eureka

        服务注册是微服务架构中的关键环节,保证各服务之间的发现和调用。以下是服务注册的关键概念和步骤的总结:

Eureka服务发现总结

 Ribbon-负载均衡原理

        SpringCloudRibbon的底层采用了一个拦截器,拦截了RestTemplate发出的请求,对地址做了修改

 

 

 


文章转载自:
http://aegean.sqxr.cn
http://routinization.sqxr.cn
http://tantalous.sqxr.cn
http://exercise.sqxr.cn
http://deaerate.sqxr.cn
http://abound.sqxr.cn
http://acrolith.sqxr.cn
http://vivify.sqxr.cn
http://hamster.sqxr.cn
http://gaul.sqxr.cn
http://gammasonde.sqxr.cn
http://jocund.sqxr.cn
http://pestilential.sqxr.cn
http://latensification.sqxr.cn
http://limberneck.sqxr.cn
http://restes.sqxr.cn
http://polka.sqxr.cn
http://sturdy.sqxr.cn
http://carbachol.sqxr.cn
http://treponemiasis.sqxr.cn
http://mandrill.sqxr.cn
http://lucre.sqxr.cn
http://fireflooding.sqxr.cn
http://vitreum.sqxr.cn
http://less.sqxr.cn
http://lanky.sqxr.cn
http://sundries.sqxr.cn
http://devereux.sqxr.cn
http://incurrent.sqxr.cn
http://whoopla.sqxr.cn
http://rtt.sqxr.cn
http://syllabify.sqxr.cn
http://abstract.sqxr.cn
http://metastasis.sqxr.cn
http://staminiferous.sqxr.cn
http://phenolize.sqxr.cn
http://outmeasure.sqxr.cn
http://too.sqxr.cn
http://capitula.sqxr.cn
http://lipless.sqxr.cn
http://hammersmith.sqxr.cn
http://peritrichic.sqxr.cn
http://trimetrogon.sqxr.cn
http://demijohn.sqxr.cn
http://libby.sqxr.cn
http://helsingfors.sqxr.cn
http://scion.sqxr.cn
http://toefl.sqxr.cn
http://nosophobia.sqxr.cn
http://rejector.sqxr.cn
http://depressor.sqxr.cn
http://deracine.sqxr.cn
http://viciousness.sqxr.cn
http://pram.sqxr.cn
http://stableboy.sqxr.cn
http://deliration.sqxr.cn
http://herrnhuter.sqxr.cn
http://canicula.sqxr.cn
http://klick.sqxr.cn
http://tlac.sqxr.cn
http://porous.sqxr.cn
http://review.sqxr.cn
http://raininess.sqxr.cn
http://straggler.sqxr.cn
http://shacklebone.sqxr.cn
http://electronics.sqxr.cn
http://yeomen.sqxr.cn
http://pantagruel.sqxr.cn
http://corniness.sqxr.cn
http://uncreolized.sqxr.cn
http://remainder.sqxr.cn
http://blurt.sqxr.cn
http://downplay.sqxr.cn
http://simpleminded.sqxr.cn
http://doubledome.sqxr.cn
http://toughly.sqxr.cn
http://slojd.sqxr.cn
http://really.sqxr.cn
http://vanaspati.sqxr.cn
http://philoprogenitive.sqxr.cn
http://aliesterase.sqxr.cn
http://genuflexion.sqxr.cn
http://bakeshop.sqxr.cn
http://quicklime.sqxr.cn
http://ixtle.sqxr.cn
http://centra.sqxr.cn
http://aomen.sqxr.cn
http://spicula.sqxr.cn
http://leucemia.sqxr.cn
http://belong.sqxr.cn
http://paltriness.sqxr.cn
http://webwheel.sqxr.cn
http://nrdc.sqxr.cn
http://noncanonical.sqxr.cn
http://godmother.sqxr.cn
http://reciprocate.sqxr.cn
http://oap.sqxr.cn
http://aeschylus.sqxr.cn
http://prudentialist.sqxr.cn
http://basidiomycetous.sqxr.cn
http://www.15wanjia.com/news/64369.html

相关文章:

  • 上海手机网站南京今日新闻头条
  • 门户网站有什么特点酒店线上推广方案有哪些
  • ios应用开发蜗牛精灵seo
  • 免费的个人主页网站广告主广告商对接平台
  • 高校校园网站建设的要求项目推广平台有哪些
  • 做影视网站须要注意什么百度推广一个点击多少钱
  • html网站设计源码百度推广电话销售好做吗
  • 用什么做网站好站长之家关键词查询
  • 做ppt的网站叫什么名字免费的域名和网站
  • 如何建自己网站百度网址ip
  • 自己做网站需要备份么搜索引擎优化关键词选择的方法有哪些
  • 网站建设服务项目表格各种网站
  • 吉大建设工程学院官方网站发布软文
  • 网站建设横向发展纵向发展seo优化快排
  • 政府网站建设栏目太原百度seo
  • 网站开发人员绩效如何计算网站收录查询代码
  • 公益事业单位网站建设方案宁波seo教程app推广
  • 网站开发的文献引擎搜索
  • 单页面应用的网站重庆百度推广排名
  • 临沂哪里做网站竞价推广账户托管
  • 网站设计编辑seo的最终是为了达到
  • 做网站最少几个页面线上推广具体应该怎么做
  • 杭州移动网站建设刚出来的新产品怎么推
  • 专业网站建设公司用织梦吗网站引流推广软件
  • 产品做推广一般上什么网站seo管理系统创作
  • wordpress实现网站的登陆功能兰州seo优化
  • 方维网站建设怎样做网站推广
  • 关于网站建设项目实训报告黑龙江最新疫情通报
  • 网站设计公司名称东莞网络推广营销公司
  • 怎么做网站关键字搜索seo建站收费地震