Hi,
I am following Cade style for my part 2 component diagram. I have a question about MDB in component diagram. I have an ServiceActivator/MDB (which is an Integration Layer component) calling an SLSB which is a Business Layer component, is it okay to have an <<uses>> arrow in the opposite direction than the normal flow, from Integration layer to Business layer? To add further to this the SLSB calls a DAO in the integration layer. So its MDB--->SLSB-->DAO. MDB and DAO in are the same layer.Is this acceptable?
Alternate solutions:
(a)Let MDB do the business logic and not call/have the SLSB, MDB calls the DAO.
(b)Include MDB in the same Business Layer component as SLSB, but can I move the integration layer component to Business layer?
Thanks a lot,
Madhu.