hi,
i've stuck at a little design problem.
following situation
Library Interface
Contains interface for every model class (getters and setters only)
Libray Businnes Logic
Contains implementations of interface library and DAL. Uses interface & transporter library
Library Transporter: Contains classes for messaging 3rd party web services. Also there i want to add the references or web references of 3rd party libraries if needed. Uses interface library.
So far soo good. There is no circular dependency now. As soon as a webservice needs to be called the business logic library uses the "transporter" library to call the extern method. This works pretty well.
But now i need to create a webservice where 3rd parties should be able to create business objects at our side. I want to create a "Transform library" where bussines objects are transformed to message objects for the the external webservies and vice versa. And there I think is the problem with my current architecture. If i want to create this library, I get a circular dependency. The reasons are
- Transporter references Transform
- Transform Library references BL
- BL references Transporter
I hope that I could explain my situation well.
Thanks for every idea to solve this.