• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Visibility of Persistence Logic

 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Morning dudes,

using DAOs all over the place makes it imossible to think, one does not want to embrace BMP. However, suppose you're desperate to utilize CMP for whatever reason. How would you sketch that with UML in component oder class diagrams? I'm afraid, a simple note stating that persistence is CMP doesn't fit -- or is it just that?

Thanks for help,
Harbo
 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not think you need to show anything ( DB side) on component digram
for CMP as there is no physical component there for Database logic.

Just show EJBs directly dependent on Database component.
State that you are using CMP in your assumptions.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic