File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Entity Beans in Component Diagram" Watch "Entity Beans in Component Diagram" New topic
Author

Entity Beans in Component Diagram

Tanveer Ahmad
Ranch Hand

Joined: Sep 20, 2005
Posts: 33
Hi All,
Dont know if I am re-asking the same question. But Is it a wise idea to show Entity bean or the Business Object (J2EE D.P.) in the component diagram?

Cade does not show any of those, instead shows DAO. What If I want to use CMP-CMR (without DAO)?

Thanks
Tanveer
[ March 05, 2008: Message edited by: Tanveer Ahmad ]
Kai-Uwe Herrmann
Greenhorn

Joined: Mar 05, 2008
Posts: 1
What If I want to use CMP-CMR (without DAO)?


Then actually you do not have a special component, have you? Rather, you are handling the entities within your business logic, right?

To me it does not make sense to show entities in a component diagram.

Cheers
[ March 06, 2008: Message edited by: Kai-Uwe Herrmann ]
Juan Pablo Crossley
Ranch Hand

Joined: Oct 16, 2007
Posts: 128
the components are not classes, so its ok if you put something like "Business Entities" in your diagram, I think its good to put it, but not as grained entities.

If you want to show the Session Facade pattern I think you should include the Entity component (not the entity classes).


SCJP, SCBCD, SCEA 5, MCP

How to pass SCEA 5 | 2, 3, N-tier which one should I pick? | Analysis of persistence layer from SCEA 5 perspective | Swing... why not?
Anindo Ghosh
Greenhorn

Joined: Aug 11, 2005
Posts: 10

To me it does not make sense to show entities in a component diagram.



For eg. lets say I have a 'Beer Rating Component' in my application.
The Beer Rating component gets us the rating for a particular beer brand by querying an external service.
In my application I have a SLSB which actually queries the external service to get the fetch the rating.
Is it a good idea to show the SLSB inside my 'Beer Rating Component' ?
OR Should I just have a component with a comment that it uses a SLSB etc ?


Courage is resistance to fear, mastery of fear - not absence of fear - Mark Twain
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entity Beans in Component Diagram
 
Similar Threads
Cade component diagram and DAO
Have you shown the DB tables?
Do we need to drow DAO and entity bean?
UML 2.0 component diagram
Should I show all the BO in the component diagram?