Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CMP Entity Beans in Component Diagram

 
Essia Tara
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I need to depict CMP Entity Beans and the Database they are connecting to in a component diagram.

For BMP Entity Beans I know that one can use the following approach:
(Entity-Bean ---> DAO ---> Database)

1. One Component for the Entity Bean
2. One Component for the DAO
3. One package (with a sterotype <<subsystem>> or <<database>> for the database.


How would I do this in the case of CMP since no DAO are used in this case?
How do I depict a connection from a CMP Entity Bean to the Database in a component diagram?

Can I just draw the CMP Entity bean and leave the database component out?

Any help would be highly appreciated.

Thanks.

Essia
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!