aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Required & Provided Intefaces in Component Diagram -Confused!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Required & Provided Intefaces in Component Diagram -Confused!!" Watch "Required & Provided Intefaces in Component Diagram -Confused!!" New topic
Author

Required & Provided Intefaces in Component Diagram -Confused!!

harinder singh
Greenhorn

Joined: Jan 14, 2010
Posts: 10
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

Joined: Jan 14, 2010
Posts: 10
anybody!! give me some direction!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Required & Provided Intefaces in Component Diagram -Confused!!