wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes SCEA and JSF: just another question 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 "SCEA and JSF: just another question" Watch "SCEA and JSF: just another question" New topic
Author

SCEA and JSF: just another question

Gianluca Musella
Greenhorn

Joined: Jul 19, 2008
Posts: 7
Good morning, this is my first post.

I'm a scea candidate for the part 2, and my prj is the well famous Flight By Night project.

This is the problem. I've declared to use JSF. Now is the moment of the component diagram (from the instruction.html page):

Create a Component diagram that shows all of the J2EE components used in the system and their interaction. For example, what EJBs, Servlets, and/or JSPs might be needed?

Ok. But the model in JSF is formed by managed beans, which aren't real J2EE component, they are only POJO. So the question is:

Must I show the managed bean in this diagram? If I use simply J2EE I show only servlet, if I use struts than actions, but with JSF? And if not, what I may shown as model?
[ July 19, 2008: Message edited by: Gianluca Musella ]
Rodrigo Cunha
Ranch Hand

Joined: Mar 19, 2008
Posts: 44
I'm actually modeling the Managed Beans as POJOs, but haven't submitted the project yet. So I'm not 100% sure this is the right approach.
Maybe someone who already did part 2 could reply this post..


Rodrigo Cunha<br />SCJP, SCWCD, SCEA5(I)
Gianluca Musella
Greenhorn

Joined: Jul 19, 2008
Posts: 7
thank you, it seems that we are in the same boat!
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Well, there's certainly a front controller in JSF. You definitely need to show that. That's your main controller.

-Cameron McKenzie
Rodrigo Cunha
Ranch Hand

Joined: Mar 19, 2008
Posts: 44
good point Cameron..

yes, you shouldn�t forget to mention FacesServlet as your front controller. Now, I also had the Faces Lifecycle as my application controller, is this a good decision?

I noticed on the following article http://websphere.sys-con.com/read/46516.htm that JSF uses the Page Controller design pattern, any comments on that?

regards,
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
But the model in JSF is formed by managed beans


To clarify, the managed beans are not "the" model, they are the representation of the model in regards to the framework. All of the JSF objects are still on the Presentation tier.

If your business logic is in POJO or EJB form, then this is "the" model, which resides on the Business tier.

The JSF managed beans represent "the" model in the Presentation tier, but they are not part of the "business model object code."
[ July 22, 2008: Message edited by: James Clark ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SCEA and JSF: just another question
 
Similar Threads
Passed SCEA II/III with 92%
Finally ... Passed in SCEA 2/3
WAF or JSF in SCEA 5 Part 2
Passed SCEA II+III
SCEA Assigment generic questions and doubts