• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Required & Provided Intefaces in Component Diagram -Confused!!

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Guys,
Little confused about component Diagram interfaces
My request flow is as : Jsf Page>>JSF Manged Bean>>Session Bean>>DAO>>
and
: Jsf Page>>JSF Manged Bean>>Session Bean>>> External Web Service

SLSB are injected with @EJB annotation in JSF bean and also to other DAO classes (everything is SLSB), all DAO SLSB classes extends abstract GenericDAO class as in the link
https://www.hibernate.org/328.html#A8

Now the question are:

1) JSF page to JSF Bean (show with dependency line)
2) JSF Bean to SLSF (show with assembly Line or just dependency to provided interface of SLSF) ??
3) SLSF(FacadeSession) to DAO SLSB (show with assembly Line or just dependency to provided interface of DAO SLSF) ??
4) DAO SLSF(DAO bean class interface) to Generic DAO abstract class (show with assembly Line or just dependency to provided interface of DAO SLSF) ??

5) Can I show inheritance in Component Diagram, I have
IUserDAO interface extends IGenericDAO interface
and
UserDAOBean extends GenericBeanDAO implements IUserDAO
Right now I am showing the Relation as assemply line from UserDAOBean to GenericBeanDAO and above the assembly line icon is IGenericDAO
May be I did confuse you
My point is should i just show the Interface dependecy or I have show that class Inheritance ASLO ( as my DAOBean class extends abstract GenericBeanDAO class)

6) Should I have to show dependecy from My GenericBeanDAO to all my Entity classes (if not then where they fit in the DAO pattrens ..I mean which right place)???

Please advice!! I am really stuck at this !!

Thanks
-H








 
harinder singh
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
anybody!! give me some direction!!
 
and POOF! You're gone! But look, this tiny ad is still here:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic