soa

跟我学习dubbo-Dubbo监控中心的介绍与简易监控中心的安装(7)

て烟熏妆下的殇ゞ 提交于 2019-11-27 05:34:02
Dubbo 监控中心的介绍与简易监控中心的安装 监控中心服务接口调用统计报表的显示配置 1、 Dubbo 服务提供者和服务消费者中的 spring 配置文件中增加以下配置: 添加完以上配置后,重新构建部署 Dubbo 服务和服务消费者应用 2、 Dubbo 简易监控中心的配置解释(不需要修改,使用默认配置) 操作系统用户为 jeesmlsz,系统用户目录为 /home/jeesml dubbo-monitor 的安装目录为: /home/jeesml/dubbo-monitor dubbo-monitor 的配置文件为: /home/jeesml/dubbo-monitor/conf/dubbo.properties dubbo-monitor 的配置文件内容如下: dubbo.container=log4j,spring,registry,jetty dubbo.application.name=simple-monitor dubbo.application.owner= dubbo.registry.address=zookeeper://xxx.xxx.xxx.xxx:2181 dubbo.protocol.port=7070 dubbo.jetty.port=8090 dubbo.jetty.directory=${user.home}/monitor dubbo

淘宝SOA框架dubbo学习(3)--搭建监控中心

拟墨画扇 提交于 2019-11-27 05:33:29
紧接上一篇,继续我的dubbo的学习之旅 1、下载监控中心dubbo服务安装包 下载地址: http://code.alibabatech.com/mvn/releases/com/alibaba/dubbo-monitor-simple/2.4.1/dubbo-monitor-simple-2.4.1-assembly.tar.gz 注:此地址,可能下载不了,我是群共享文件里,下载的 2、解压缩后,编辑conf/dubbo.properties 内容如下: dubbo.container=log4j,spring,registry,jetty dubbo.application.name=simple-monitor dubbo.application.owner= #dubbo.registry.address=multicast://224.5.6.7:1234 dubbo.registry.address=zookeeper://127.0.0.1:2181 #dubbo.registry.address=redis://127.0.0.1:6379 #dubbo.registry.address=dubbo://127.0.0.1:9090 dubbo.protocol.port=7070 dubbo.jetty.port=8080 dubbo.jetty

Patterns for Compensating Lack of Inheritance in SOA

孤人 提交于 2019-11-27 04:56:05
I find Inheritance and concept of base class as the strongest point of OOP. But this is not encouraged in SOA. So, what are the popular patterns for overcoming this limitation in SOA? Could you please provide tutorials that explains (with code demonstration in WCF) these patterns? Note: This is NOT a general question about patterns available in SOA. But it is more specific to the above mentioned problem. Note: I am using WCF for SOA. Reading: “Do not use Abstract Base class in Design; but in Modeling/Analysis” How is an SOA architecture really supposed to be implemented? How to deal with Java

WCF - Design Parameter Decision

断了今生、忘了曾经 提交于 2019-11-27 02:26:27
I am designing a service for FundManagement. The FundManagement Service has an operation named “UpdateFundApprovalDate(FundDTO fund)”. This operation will update the fund table record with approval date for the fundingID. The service will be used by a “FundManagementUI” client. There is a business rule that the approval date should not be updated if contract renewal is in progress. There is a separate Renewal Service. The Renewal service uses data from Renewal table (which has Funding ID in it). Structure of Renewal table is (RenewalID, FundingID, RenewalStartDate, Renewal CompletionDate,

“Do not use Abstract Base class in Design; but in Modeling/Analysis”

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 02:00:28
I am newbie to SOA though I have some experience in OOAD. One of the guidelines for SOA design is “Use Abstract Classes for Modeling only. Omit them from Design”. The use of abstraction can be helpful in modeling (analysis phase). During analysis phase I have come up with a BankAccount base class. The specialized classes derived from it are “FixedAccount” and “SavingsAccount”. I need to create a service that will return all accounts (list of accounts) for a user. What should be the structure of service(s) to meet the requirement? Note: It would be great if you can provide code demonstration

Reports in SOA (Business Intelligence & Service Oriented Architecture)

十年热恋 提交于 2019-11-26 23:12:10
I have SOA with a Employee service and a Travel Service. The travel service will create a travelID entry for the employeeId in the [Travel] database. The employee will be using a “TravelUI” website (which calls the Travel Service to store details in DB) to request for a travel. There is a “ManagerUI” website which will be used by manager to approve the travel request. The “ManagerUI” website uses the Travel service as well as the Employee Service to get the details. When the manager approve the travel, the travel record (in [Travel] database become approved by using operations in Travel

Alternatives for Translation Layer in SOA: WCF

落爺英雄遲暮 提交于 2019-11-26 21:55:47
问题 Services are not object-oriented. Suppose I have a OOAD based design. We can convert it into DTO (that does not have any behavior) using a Translation Layer . But this can cause be very big increase in amount of code. What are the alternative ideas for this in WCF (via C#)? Please have your comment whether it is good idea to have such a transition between SOA and OOAD. Should we avoid OOAD altogether when we have SOA or use such mapping techniques? Is it a good idea to create "Operation

How can I force WCF to autogenerate WSDLs with required method parameters (minoccurs=“1”)?

早过忘川 提交于 2019-11-26 20:16:52
问题 While using WCF and OperationContracts I have the following method defined: [OperationContract] [FaultContract(typeof(ValidationFault))] [FaultContract(typeof(FaultException<ExceptionDetail>))] int DoSomething(int someId, MyComplexType messageData); When this gets translated to a WSDL by the WCF runtime, it ends up with with minoccurs="0" listed for the parameters someId and messageData (and subsequently throws a runtime error if these parameters are missing). If I generate a proxy using

Orchestration vs. Choreography

给你一囗甜甜゛ 提交于 2019-11-26 18:43:07
问题 What are the differences between service orchestration and service choreography from an intra-organization point of view. 回答1: Basic technologies such as (XML, SOAP, WSDL) provide means to describe, locate, and invoke services as an entity in its own right. However, these technologies do not give a rich behavioral detail about the role of the service in more complex collaboration. This collaboration includes a sequence of activities and relationships between activities, which build the

Service Oriented Architecture - AMQP or HTTP

半世苍凉 提交于 2019-11-26 17:56:41
问题 A little background. Very big monolithic Django application. All components use the same database. We need to separate services so we can independently upgrade some parts of the system without affecting the rest. We use RabbitMQ as a broker to Celery. Right now we have two options: HTTP Services using a REST interface. JSONRPC over AMQP to a event loop service My team is leaning towards HTTP because that's what they are familiar with but I think the advantages of using RPC over AMQP far