soa

Design for multi-tenant app using SOA, UoW, Repository, DataContext & multiple databases

删除回忆录丶 提交于 2019-12-06 11:21:54
问题 Let me start by apologizing for the length of this post but I wanted to provide as much detail as possible to increase the chance of an answer. Thanks in advance. I’m adding new features to an existing application that integrates data from several databases. In short, it allows clients and/or their accountants to access and update financial information about their locations. The application has 3 tiers with a web client (I’m looking to replace this will a Silverlight client very soon), a

How is an SOA architecture really supposed to be implemented?

寵の児 提交于 2019-12-06 10:53:18
问题 My project is converting a legacy fat-client desktop application into the web. The database is not changing as a result. Consequently, we are being forced to call external web services to access data in our own database. Couple this with the fact that some parts of our application are allowed to access the database directly through DAOs (a practice that is much faster and easier). The functionality we're supposed to call web services for are what has been deemed necessary for downstream,

Service as Mediator in SOA

戏子无情 提交于 2019-12-06 06:04:26
I know what is "usual" mediator design pattern (some description is in wikipedia: http://en.wikipedia.org/wiki/Mediator_pattern ). In my SOA I have Notification Service: he should broadcast messages from one service to all other that are subscribed for this particular service. Actually, any service can be a source of such messaging. My vision of such service implementation causes circular dependency between services. Here ( Circular dependency in SOA ) I've asked how to resolve it and received advice to use 'Mediator' pattern for this purpose. If I correctly understand, my Notification Service

Service-Oriented Architecture Communications Standards

一曲冷凌霜 提交于 2019-12-06 05:34:44
问题 I worked in the past on building a data processing application structured using a service-oriented architecture. I had a series of services that would all be managed from a master service which would call all services serially to process my data. I ran into something I didn't like in that the services had to provide status and error feedback to the master service and I had to code everything from scratch. My question is, are there standards out there for inter-service communications and

SaaS - Multi tenant Separate database model Implementation in Java

倾然丶 夕夏残阳落幕 提交于 2019-12-06 05:13:31
问题 I am architecting a software project and I want to achieve a SAAS (Software As a service) model. I want to design a web application compatible to multi tenancy with separate database per tenant. How can i design Multi tenant UI in Java environment(UI should be tenant configurable in nature)? How can I design data access layer for separate database per tenant(Single application instance for multiple tenant database)? And also suggest me to choose technology stack in Java environment. Thanks in

How to draw a web service using UML [closed]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 03:54:23
Closed . This question is opinion-based . It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Closed 2 years ago . What's the best and most elegant way to represent a web service interface using a UML class diagram? Well it is just a diagram to help pass a point so whatever is clear. One option is to use stereotypes put "contract" on the interface and put "web service" on the class. Martin Spamer I would use a Sequence Diagram not a Class Diagram . Web Service with UML 来源: https:/

dubbo系列----rpc初探

假如想象 提交于 2019-12-05 21:42:25
1 首先,什么是RPC RPC指的是远程服务调用。RPC 的主要功能目标是让构建分布式计算(应用)更容易,在提供强大的远程调用能力时不损失本地调用的语义简洁性。rpc框架应该提供对于远程服务的透明化调用,不需要显式的区分本地or远程。说得通俗点,rpc应该能够做到像调用本地方法一样调用远程服务。 2 rpc调用方式 rpc调用和方法调用一样,对于调用者来说,分为同步和异步两种方式(同步异步本身就是一个很大的课题),这里不细说同步和异步的概念。 同步自不必多说,正常的http调用,对于浏览器来说,必须等到服务端响应才能继续(非AJAX) 异步就是AJAX 为什么这里要说这个 ,在这里抛个砖,后续当我们说到dubbo做SOA实践的时候,会讨论异步调用和同步调用对服务器吞吐能力的影响,这也可以参考我的另一篇文章 http://my.oschina.net/zhenglingfei/blog/492883 3 RPC调用过程 上图来自文章1,给出了一个rpc框架的思路,其实很多的rpc框架都是这样做的,至少我所了解的是这样(dubbo以及我曾经公司的rpc框架)。一般的过程是本地应用调用远程API(存在于本地),实际的调用工作会由初始化时生成的本地代理执行,本地代理通常会根据根据一些既定策略(路由,容错等)选择实际的远程服务进行通信,而服务端则是一个反向的过程 而一个rpc框架

Is there an IPC transport implementation for Thrift ? or low latency SOA solutions

自古美人都是妖i 提交于 2019-12-05 20:58:21
问题 I want to introduce SOA to a low latency system without the overhead of TCP communication(even on the same machine). Thirft seems like a great fit as I have both Java and php processes. Is there an IPC transport implementation for thrift, or any other good idea that could help in this scenario? 回答1: You could use Thrift to serialize your objects and then use IPC method of your liking(named pipe,message queues etc). The following is a simple example using pipes We have a an object of type

multiple-tenant, multiple-platform, multiple-services single sign-on using Azure Active directory

回眸只為那壹抹淺笑 提交于 2019-12-05 18:55:56
I have the following services Service1.SomeDomain.com Service2.SomeDomain.com Service3.SomeDomain.com I have a Web application that has a client side script that will talk directly to each of the above services to retrieve information Web.SomeDomain.com I also have Native Mobile client applications which also will talk directly to each of the above services Android IOS Windows/Windows Phone Now this application will be a SaaS solution where customers can sign-up online create their own tenant and then create user accounts for there employees and add the employees to groups and change

So am I talking about a SOA here?

三世轮回 提交于 2019-12-05 11:16:38
For a government contract we will be proposing to build a traffic monitoring architecture. We will have the following components: Video camera's set up around the area of interest. The cameras will be aware of their location and orientation and viewing parameters. A GIS map server which can be queried for streets, building, etc. An algorithm the takes in raw video and street location information and outputs car locations. Another algorithm takes in car locations and very low level street information and provides information about which cars are driving anomalously. Another database takes in