The whole point of entity beans is that they should be considered the actual "entity view" i.e. it is better to forget there is a database behind the beans. So I woudl not represent anything behind the entity bean. Also, the database itself really only needs to go into the deployment digram as an execution node or a subsystem since it is not a J2EE component or any kind of software component.
does this clarify it?
Joined: Mar 30, 2005
Thank you for your reply. It does clarify my doubts. I was trying to build a component diagram based on the model I saw in Mark Cade's book. In that book, the database was shown in the component diagram with a package icon and I was not sure if I had to draw another component (persistence Object/mechanism?) between the CMP entity bean and the database.
Once again, thank you for your reply.
subject: Re-Post: CMP Entity Beans in Component Diagram