• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Entity Beans in Component Diagram

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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 ?
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic