2
Hello, I need to integrate two different applications: one is a client business administration application and the other a financial management application.
They are two separate applications, so what I need is that, when registering a client in the administration application, this client is integrated into the financial application in real time.
What I once thought:
How the applications were developed in Asp.Net and following the concepts of DDD and I can get the Dlls from services
and referencing them in the other application, also referencing the Model and so I can create a client object from the financial application, access the method and add using the logic of her business rule.
I just don’t know if this is the best way. I’ve thought about integrating this way using Dlls, I’ve thought about doing by Web API that on controller i made a call to the integration API by passing a JSON.
I also thought about doing an integrative program that had a team and to make this integration by selects
and inserts
from time to time.
I would like your opinion. Should I use only the service layer of the DDD? Should I use Web API? Or any other approach?
What is the advantage and disadvantage of each?
What is the scale of use of the services? How many users? How many people work in the development of these two applications? Do you predict that there will be many modifications to these applications in the future? Do they run different servers or use the same one? Is the database single or partitioned? What do you mean by "real time"? 10ms, 50ms, 1s? I think the answer depends on all these questions and maybe other.
– Vinicius Zaramella