File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes CMP Entity Beans in Component Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "CMP Entity Beans in Component Diagram" Watch "CMP Entity Beans in Component Diagram" New topic

CMP Entity Beans in Component Diagram

Essia Tara

Joined: Mar 30, 2005
Posts: 4
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.


wood burning stoves
subject: CMP Entity Beans in Component Diagram
jQuery in Action, 3rd edition