• Post Reply Bookmark Topic Watch Topic
  • New Topic

External system in class diagram

 
Solomon Raz
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search this forum for Parag Doshi's notes on Class Diagram. It answers your question.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!