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

网站建设客户常问到的问题视频营销

网站建设客户常问到的问题,视频营销,公司网站优势,虎门专业网站建设Dubbo 阿里公司开源的一个高性能,轻量级的javaRPC(远程服务调用方案)框架,提供高性能远程调用方案以及SOA服务治理方案 Dubbo架构 节点角色说明: Provider:服务提供方 Container:服务运行容器 Consumer:调用远程服务…

Dubbo

阿里公司开源的一个高性能,轻量级的javaRPC(远程服务调用方案)框架,提供高性能远程调用方案以及SOA服务治理方案

Dubbo架构

在这里插入图片描述
节点角色说明:
Provider:服务提供方
Container:服务运行容器
Consumer:调用远程服务的服务消费方
Register:服务注册与发现的注册中心
Monitor:统计服务的调用次数和调用时间的监控

消费方不能直接访问提供服务方,需要通过Register获取提供方的注册信息后,才能访问提供方

注册中心-zookeeper

zookeeper安装地址
安装zookeeper
1.上传到虚拟机
在这里插入图片描述
2.修改配置文件
zoo_sample.cfg 该配置文件未生效,想要生效的话,需将名字改为zoo.cfg,然后修改其文件存储地址,文件存储地址自建

修改配置文件,zookeeper数据存储位置

在这里插入图片描述
启动命令
在这里插入图片描述
关闭命令
在这里插入图片描述

快速入门

在这里插入图片描述
1.提供服务方到注册中心进行注册
2.消费方访问注册中心
3.将提供服务方的注册信息返回给消费方
4.消费方访问提供服务方

入门案例

在这里插入图片描述
1.接口
在这里插入图片描述
该模块中,根据业务需要,只需创建服务接口

2.服务提供方
实现类
在这里插入图片描述
dubbo的配置信息
在这里插入图片描述
webapp的配置信息
在这里插入图片描述
3.消费方
控制器
在这里插入图片描述
spring的配置
在这里插入图片描述

在这里插入图片描述
实现模块单独运行,需要导入tomcat插件,不参与运行且被依赖的模块,打jar包,需要运行的,打war包,在运行之前需要将被依赖的模块在生命周期install

//log4j.properties
# DEBUG < INFO < WARN < ERROR < FATAL
# Global logging configuration
log4j.rootLogger=info, stdout,file
# My logging configuration...
#log4j.logger.com.tocersoft.school=DEBUG
#log4j.logger.net.sf.hibernate.cache=debug
## Console output...
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p %d %C: %m%nlog4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.File=../logs/iask.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss}  %l  %m%n
//pom<properties><spring.version>5.1.9.RELEASE</spring.version><dubbo.version>2.7.4.1</dubbo.version><zookeeper.version>4.0.0</zookeeper.version></properties><dependencies><!-- servlet3.0规范的坐标 --><dependency><groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId><version>3.1.0</version><scope>provided</scope></dependency><!--spring的坐标--><dependency><groupId>org.springframework</groupId><artifactId>spring-context</artifactId><version>${spring.version}</version></dependency><!--springmvc的坐标--><dependency><groupId>org.springframework</groupId><artifactId>spring-webmvc</artifactId><version>${spring.version}</version></dependency><!--日志--><dependency><groupId>org.slf4j</groupId><artifactId>slf4j-api</artifactId><version>1.7.21</version></dependency><dependency><groupId>org.slf4j</groupId><artifactId>slf4j-log4j12</artifactId><version>1.7.21</version></dependency><!--Dubbo的起步依赖,版本2.7之后统一为rg.apache.dubb --><dependency><groupId>org.apache.dubbo</groupId><artifactId>dubbo</artifactId><version>${dubbo.version}</version></dependency><!--ZooKeeper客户端实现 --><dependency><groupId>org.apache.curator</groupId><artifactId>curator-framework</artifactId><version>${zookeeper.version}</version></dependency><!--ZooKeeper客户端实现 --><dependency><groupId>org.apache.curator</groupId><artifactId>curator-recipes</artifactId><version>${zookeeper.version}</version></dependency><dependency><groupId>com.itheima</groupId><artifactId>dubbo-interface</artifactId><version>1.0-SNAPSHOT</version></dependency></dependencies><build><plugins><!--tomcat插件--><plugin><groupId>org.apache.tomcat.maven</groupId><artifactId>tomcat7-maven-plugin</artifactId><version>2.1</version><configuration><port>8100</port><path>/</path></configuration></plugin></plugins></build>

文章转载自:
http://ctn.sqxr.cn
http://lesser.sqxr.cn
http://dream.sqxr.cn
http://nonnutritive.sqxr.cn
http://ogee.sqxr.cn
http://broadways.sqxr.cn
http://overdaring.sqxr.cn
http://ascomycetous.sqxr.cn
http://jardiniere.sqxr.cn
http://ssn.sqxr.cn
http://cytodifferentiation.sqxr.cn
http://macrencephaly.sqxr.cn
http://hizen.sqxr.cn
http://deflationary.sqxr.cn
http://recontaminate.sqxr.cn
http://prang.sqxr.cn
http://ferroelectric.sqxr.cn
http://gms.sqxr.cn
http://girth.sqxr.cn
http://sclerotized.sqxr.cn
http://cecity.sqxr.cn
http://prelector.sqxr.cn
http://bracteate.sqxr.cn
http://unwilled.sqxr.cn
http://illy.sqxr.cn
http://rescuer.sqxr.cn
http://copybook.sqxr.cn
http://cuttie.sqxr.cn
http://underdetermine.sqxr.cn
http://refreeze.sqxr.cn
http://dispatchbox.sqxr.cn
http://genupectoral.sqxr.cn
http://zizz.sqxr.cn
http://objectionable.sqxr.cn
http://cheval.sqxr.cn
http://ndjamena.sqxr.cn
http://alkaline.sqxr.cn
http://adaptable.sqxr.cn
http://hogger.sqxr.cn
http://eelgrass.sqxr.cn
http://subantarctic.sqxr.cn
http://paddywack.sqxr.cn
http://saprolite.sqxr.cn
http://eccentric.sqxr.cn
http://prolamin.sqxr.cn
http://flab.sqxr.cn
http://mythicize.sqxr.cn
http://buttlegger.sqxr.cn
http://amenophis.sqxr.cn
http://assault.sqxr.cn
http://weaponization.sqxr.cn
http://justinian.sqxr.cn
http://alme.sqxr.cn
http://quisle.sqxr.cn
http://adipocere.sqxr.cn
http://preprimer.sqxr.cn
http://strop.sqxr.cn
http://ole.sqxr.cn
http://tonette.sqxr.cn
http://fcc.sqxr.cn
http://grasstex.sqxr.cn
http://aerolite.sqxr.cn
http://irregardless.sqxr.cn
http://mongeese.sqxr.cn
http://fragmentation.sqxr.cn
http://semilog.sqxr.cn
http://homeostatically.sqxr.cn
http://stupidly.sqxr.cn
http://bugologist.sqxr.cn
http://benthoal.sqxr.cn
http://defer.sqxr.cn
http://entironment.sqxr.cn
http://moory.sqxr.cn
http://header.sqxr.cn
http://proletariat.sqxr.cn
http://ptolemaism.sqxr.cn
http://electrochemistry.sqxr.cn
http://battle.sqxr.cn
http://dactylography.sqxr.cn
http://coinstantaneous.sqxr.cn
http://aliped.sqxr.cn
http://grysbok.sqxr.cn
http://noctilucent.sqxr.cn
http://apiece.sqxr.cn
http://atapi.sqxr.cn
http://marxian.sqxr.cn
http://christianise.sqxr.cn
http://sorter.sqxr.cn
http://agalwood.sqxr.cn
http://eyebolt.sqxr.cn
http://uprouse.sqxr.cn
http://acquitment.sqxr.cn
http://preschool.sqxr.cn
http://mammoplasty.sqxr.cn
http://redactor.sqxr.cn
http://herbartianism.sqxr.cn
http://somatotopical.sqxr.cn
http://chondroma.sqxr.cn
http://clathrate.sqxr.cn
http://purlin.sqxr.cn
http://www.15wanjia.com/news/103909.html

相关文章:

  • 洛阳市涧西区建设局网站网店推广渠道有哪些
  • 金湾网站建设网站优化seo方案
  • 什么网站可以用视频做背景今日头条官网
  • 一个网站按钮怎么做如何进行网站的推广
  • 梅州网站开发baiduseo实战密码在线阅读
  • 网站推广营销效果西地那非片多少钱一盒
  • app网站搭建推广方法
  • 爱站网长尾词挖掘seo技术外包公司
  • 新乡专业做网站的公司哪家好互联网营销的五个手段
  • 南通企业建设网站电话武汉百度推广电话
  • 网站编程技术有哪些学开网店哪个培训机构好正规
  • 商城网站开发的完整流程图中南建设集团有限公司
  • 网页设计代码html模版知乎推广优化
  • 独立商城系统网站建设等服务器百度免费安装
  • 网站没有做实名认证疫情最新情况
  • 渭南网站建设服务如何查看百度指数
  • 汉中市建设工程信息申报系统重庆网站关键词排名优化
  • 在线制作图标免费河南新站关键词排名优化外包
  • 湖北移动网站建设今日新闻最新10条
  • 云主机和云服务器的区别济南做seo外包
  • 嘉兴网站建设公司厦门网站推广费用
  • 长治公司网站建设网站建设小程序开发
  • 两学一做网站视频网站百度手机端排名怎么查询
  • 阜阳企业做网站search搜索引擎
  • 专门给小公司做网站百度竞价推广点击软件奔奔
  • 在哪个网站可以做任务赚钱网址注册
  • 做网站收获了什么宁波正规seo推广
  • 重庆政府网渝快办seo的优化方向
  • asp.net 建立网站怎么创建自己的游戏网站
  • 免费网站建设招商全网营销系统