soa

How to get up to speed on SOA? [closed]

风流意气都作罢 提交于 2019-12-03 06:28:14
I've been given the task of laying the groundwork of a SOA for my client. The goal is to open up various processes in an end-client independent way and also to make data available offline e.g. for reps visiting customers. I do have extensive experience with J2EE (Websphere) and web services but I would appreciate advice on how to build up such an SOA. Where are the pitfalls? What about security? How finely granulated should services be? etc. Links to tutorials and book recommendations would also be useful. Thanks! Pitfalls Versioning/backwards compatibility: it gets really hard to change a

How should an ESB be packaged/deployed?

不问归期 提交于 2019-12-03 06:25:08
I am trying to wrap my head around Apache Camel, which appears to be a lightweight ESB. If I understand Camel/ESBs correctly, then you can think of a Camel Route as a graph of nodes and edges. Each node is an endpoint on the route (can consume/produce messages). Each edge is a route between two different endpoints (1 producer and 1 consumer). Assuming that's correct, I have a practical question: what do best practices dictate about deploying your application's ESB/Camel Route? Should I package it up as its own JAR, or is it worthy of being its own EAR full of EJBs, Web Services and other JARs?

SOA: Joining data across multiple services

落爺英雄遲暮 提交于 2019-12-03 05:12:01
问题 Imagine we have 2 services: Product and Order. Based on my understanding of SOA, I know that each service can have its own data store (a separate database, or a group of tables in the same database). But no Service is allowed to touch the data store of another Service directly. Now, imagine we have stored the product and order data independently inside Product and Order Services. In the Order Service, we can identify products by their ID. My question is: With this architecture, how can I

Contract-First SOA with WCF

时间秒杀一切 提交于 2019-12-03 04:30:43
问题 This question is more of a probe to discover what people are doing in the community, in practical situations, than a specifically targeted question. I have searched pretty broadly about this, and while I have found a lot of bloggers advocating contract-first service design and some comments backing them up, I have yet to find much practical information about implementing contract-first with WCF, the pros and cons of doing so in a real-world environment, etc. I have recently done some

How does Concurrency work in WCF?

北城余情 提交于 2019-12-03 04:27:07
问题 I am a novice in WCF and SOA. I am just starting out on these, I have a theoretical doubt: Client A has called a service and the logic is currently executing on the server. While the logic is executing, another call from Client B comes in for the same service. At this point what happens to the logic that is being executed for Client A? How does the service manage to serve both the requests? 回答1: Answer to your question depends on binding you are using. There are two settings controlling this

SOA Service Design / Authentication

耗尽温柔 提交于 2019-12-03 03:57:49
I'm rather new to SOA and therefore experimenting around. Currently, the part that creates the biggest problem to me is authentication, my current thought about it involves the following: The client sends some kind of authentication message to the authentication / user service, this service queries the db and if the user is found and the password is valid, it will respond with a session id, this id will be used in all further requests of this client. This seems rather ok to me but I don't know how I should handle the requests to other services, I thought of three different approaches. Every

Do DDD and SOA really play well together?

佐手、 提交于 2019-12-03 03:18:18
问题 Please let me know, ever so gently, if I am totally mangling the DDD concept, but here is my dilemma. Let's say I have the following domain model: Teacher IList<Class> Class Teacher IList<Student> Student Class Now, from a DDD perspective, it seems like the Teacher is my root, and indeed, in a simple app, I might carry around my Teacher with her classes and students and act on them as needed. But in an SOA situation, let's say I've pulled down my Teacher, her classes and students for display

Transaction in SOA

回眸只為那壹抹淺笑 提交于 2019-12-03 03:15:11
Is there any possibility to propagate transactions between different SOA services which are from different platforms like .NET or Java? I know the transaction can flow in and out between WCF services which is coming from .NET. But I am not familiar with Java platform. Now I am working in a project which communicates the services from different platform. How can I maintain consistency in business? Daniel P. Bullington If your client and server SOA infrastructure (and by extension, the underlying back-end systems being accessed in the various service implementations) support WS-Transaction, then

How to ship logs in a microservice architecture with docker?

只谈情不闲聊 提交于 2019-12-03 03:06:44
问题 Heroku describes logs in its Twelve-Factor App manifest as simple event streams: Logs are the stream of aggregated, time-ordered events collected from the output streams of all running processes and backing services. Logs in their raw form are typically a text format with one event per line (though backtraces from exceptions may span multiple lines). Logs have no fixed beginning or end, but flow continuously as long as the app is operating. Additionally, apps should simply write logs to

.net n-tier identity & authorization in service architecture

≯℡__Kan透↙ 提交于 2019-12-03 02:48:19
问题 I'm building an application where the requirements seem standard issue (at least to me)... I have a Web.UI based on asp .net mvc & clients from iphone, andriod & blackberry. So the sensible thing to do is to move all my business logic into a services layer that can be accesses over http. This services layer must accept requests with a user context (identity) and in some nice way perform authorization consistently no matter which type of client is communicating with it (I hope?). Over a year a