posted 19 years ago
If I access an external subsytem(say an external DB), should I show that subsytem in the domain class diagram. I believe I shouldn't as it is external to the business domain I'm concerned about. Let me know if I'm wrong.
Of the following 2 options, what is the most common way a session bean would interact with an external DB.
(a) SB-->DAO-->(external DB)
(b) SB-->(POJO interface object)-->DAO-->(external DB)
I seem to like (b) as an interface is usually used to show calls to external systems. If there are better options than these 2 that represent communication with external systems more clearly, please provide more info on those.
Solomon