Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Showing system database in Component diagram

 
viv anand
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am doing SCEA part-2 assignment following the Cade's example.I am using DAOs only to interact with the external system(like LDAP, email server etc.) but to interact with the system's own database I am not using the DAO. The backend flow for the system is like EJB --> Entity(JPA) --> Database. Now in the Component diagram, I have shown the DAOs in the integration tier and external systems below it (just like the Cade's example).

Do I need to show my system's own database along with the external systems and then a dependency from the components present in the "Business logic and persistence tier" to the system database? As there is no component present in the integration tier for this(no DAO is used for this purpose), I may have to show a dependency directly from "Business logic and persistence tier" to the system database. Is it a good idea? Or will I keep my Component diagram similar to Cade's example which does not show system database in the Component diagram?
Please provide your opinion/experience.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic