Hello, I need to integrate two distinct 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 you register a customer in the administration application, that customer is integrated into the real-time financial application.
What I already thought:
As the applications were developed in Asp.Net and following the concepts of DDD and I get the DLLs of services
and refer them in the other application, I also refer to the Model DLL and so I can create a client object from the financial application, access the method and add it using its business rule logic.
I just do not know if this is the best way. I've thought of integrating in this way using DLLs, I've already thought about doing the Web API in the controller I would call the integration API by passing a JSON.
I also thought of doing an integrator program that had time and did this integration by doing selects
and inserts
from time to time.
I would like your opinion. Should I use only the DDD service layer? Should I use Web API? Or some other approach?
What is the advantage and disadvantage of each?