This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Showing system database in Component diagram

viv anand
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Boost this thread!