3
votes

I am starting research on how to implement Node.js SOA (service oriented architecture) with JSON web-services.

As a small sub-question, I need an approach/framework/system to make universal configuration center for all companies web-services. So that we don't configure every application with exact address of other application, but just link to some central server to get that information. (This should be very well worked-out topic for XML-based services, so some terminology/approaches/etc could/should be borrowed.)

Related to RESTful JSON based SOA Registry
Service Oriented Architecture suggestions

UPDATE: This questions is about web-services configuration & orchestration.

1
"As a small sub-question, I need an approach/framework/system to make universal configuration centre for all companies web-services" This is not a good thing to do, because it would create a dependency on your services to the "central" configuration system. They need to be units that can be deployed individually. - MeTitus
@Marco If one services is used by several others and it needs to be moved to other server (for example when upgrade or failure), then having one configuration point solve problem of other services using different entry points. - Paul Verest
@PaulVerest Let me get this clear. In a SOA environment, services need to be independent of other services, at deployment and at run-time. You must be able to deploy the service and to run it without depending on others, but services are of no use if they can't communicate with each other, and your question is completely valid. The only problem with centralized configuration is that, if the resource is not available your server won't be able to run. There are of course ways to solve this. - MeTitus
@PaulVerest You can for example rely on strong SLA's to make sure that that resource is almost "always" available, maybe a cloud provider (Amazon, Azure), but it really depends on how your services are laid over to be honest. - MeTitus

1 Answers

-1
votes

GO for an active(having activity happening off late) framework with lean architecture.There's one called Geddy and another called Restify. If in doubt, Express can also be used for building webservices with JSON.

You can work on reading the centrally stored config from different app codebse when you use any of these.