This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes SCEA-2 if using framework  like seam then still have to use J2EE design pattrems ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "SCEA-2 if using framework  like seam then still have to use J2EE design pattrems ?" Watch "SCEA-2 if using framework  like seam then still have to use J2EE design pattrems ?" New topic
Author

SCEA-2 if using framework like seam then still have to use J2EE design pattrems ?

harinder singh
Greenhorn

Joined: Jan 14, 2010
Posts: 10
Hi ,
I am looking into Factory Homes assignemnt and read some of the hot topics in the forum. that is really good and helpful but have some quesions that giving me little confusion like
1) Is it OK to use Seam Framework in my assignment ? is it good idea ?
2) If yes then, I guess no need to use lot of design pattrens like Business Delegate, Session Facade, Service lookup, even DAO etc
As seam does the DI from EJB tier to Web tier and web tier components are directly get used as backing beans in the xhtml pages.

3) if not then suppose I pick the JSF technology with JPA what will be Right Request Flow ?
I mean
xhtml/jsp Page >>MyCustomBackingBean>>Business Delegate>>My Service Locator>>My Session Facade>>MyBusinessSessionBean>>MyDAOClass

I guess Framework JSFActionServlet will act as FrontController. Aslo little confuse about Session Facade

4) one thing more can somebody please pass me the Pet Store demo/download link for J2EE 5, I downloaded it two times and it has only one class file (may be looking at the wrong URL)

Any link to template/sample project assignment will be very helpful.

Thanks in Advance and looking forwad to hear frm you!
AJ
harinder singh
Greenhorn

Joined: Jan 14, 2010
Posts: 10
Please reply Ranchers!!
srees Nivas
Ranch Hand

Joined: Oct 05, 2009
Posts: 51
Hi Harinder Singh,

For your first question, you can find few points in this discussion (pl. scroll down little bit in the discussion)

http://www.coderanch.com/t/476717/Architect-Certification-SCEA/certification/Query-SCEA-Part-Assignment

2) Comments on 2nd question:

As per my understanding, Sun looks our architectural knowledge on the design patterns we apply for the assignment. If everything can be done by any XXX tool/technology, then what we are going to present? More over today is this tool/technology will be used, tomorrow some thing else, but base concepts will remain same.

I don't know in and out of Seam framework, but internally it may use most of the design patterns we apply here.

May be you agree with me.

3) your understanding looks good to me. Not sure what confusion you have for Session Facade.

4) When I downloaded I've got the source code also. I think I've downloaded from this URL. Please check.

https://blueprints.dev.java.net/servlets/ProjectDocumentList?folderID=5315&expandFolder=5315&folderID=0

Hope you are having this pet store architecture document link

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/sample-app/sample-app1.3.1a3.html

Hope this helps.


Best regards,
Sri.
harinder singh
Greenhorn

Joined: Jan 14, 2010
Posts: 10
Hi Sri/Srees,
You are absolutly right about Frameworks. Your Answers are really helpful. I really appreciate your response.

About Blue Print Source link
https://blueprints.dev.java.net/servlets/ProjectDo...5&expandFolder=5315&folderID=0

I am using Windows Framework & when I open this this jar file it has only one class file (petstore.class) and one Meta-INF directory

Thank you very much!

Regards
Harinder
srees Nivas
Ranch Hand

Joined: Oct 05, 2009
Posts: 51
harinder singh wrote:Hi Sri/Srees,
You are absolutly right about Frameworks. Your Answers are really helpful. I really appreciate your response.

About Blue Print Source link
https://blueprints.dev.java.net/servlets/ProjectDo...5&expandFolder=5315&folderID=0

I am using Windows Framework & when I open this this jar file it has only one class file (petstore.class) and one Meta-INF directory

Thank you very much!

Regards
Harinder


Hi Harinder,

Yes, there will be only one class file in the jar you download from Sun. By executing that jar file you will get the actual source. Two ways, i) double click. If this is not working then ii) execute java -jar javapetstore-2.0-ea5-installer.jar

Hope this helps.

Best regards,
Sri.

harinder singh
Greenhorn

Joined: Jan 14, 2010
Posts: 10
Thank you so much, I am able to get the source!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SCEA-2 if using framework like seam then still have to use J2EE design pattrems ?
 
Similar Threads
DTO/TO - Which Tier??
Design Patterns - Part II
Business Delegate Design Pattern
Where should Business Delegate be ?
Difference between business delegate and session facede?