Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Pass with 73%

 
Bartender
Posts: 2085
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am glad that I passed my JSF exam with 73% with my second attempt.
I feel thankful for all of you, especially Tim Holloway for giving me a lot of good suggestions in JSF forum.
I also want to thank Paul Straham for his notes at https://bitbucket.org/paulstat/oracle-jsf-expert-1z0-896/wiki/Home

This exam is not as "scary" as I thought although it costs most of us $245 *2 = $490 !
Please read my posts in this forum and JSF forum.

Some more hints we need to know for this exam:
1. how to use d:database with f:facet
2. how to make sure a user is logged on. Example is at https://www.journaldev.com/7252/jsf-authentication-login-logout-database-example
3. how to use f:selectItem and h:selectManyListbox with a map data structure in the bean. Example :https://www.mkyong.com/jsf2/jsf-2-multiple-select-listbox-example/
4. <f:convertNumber locale="xxxx"/> or <f:convertNumber currencyCode="xxxx"/>
5. The attributes of f:ajax. The default value of attributes: event="valueChange" and execute="@this".
6. WAR and JAR package structure
7. syntax of ui:composition and ui:decorate
8. no multiple <from-view-id> in navigation rule.
9. the meanings of <security-constraint> and its sub elements.
10. ui:repeat won't accept DataModel objects like h:dataTable. Example: https://softwarecave.org/2014/04/18/facelets-uirepeat-tag/
   


    Tag ui:repeat iterates over a collection (a scalar object, an array, java.util.List or java.sql.ResultSet)
   


11. HttpServletRequest.login(username, password)
12. The definitions of FacesContext
13. Conversation scope. Example http://www.byteslounge.com/tutorials/java-ee-cdi-conversationscoped-example
14. how to use <resource-bundle>
15. how to use <f:metaData>'s <f:viewParam>
15. how to use flash scope. Example at  https://memorynotfound.com/passing-variables-in-jsf-flash-scope/
 
Creator of Enthuware JWS+ V6
Posts: 3392
312
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations !!!

Well done!
 
Himai Minh
Bartender
Posts: 2085
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Frits. I really appreciate your help in my previous exams.
Some more hints for candidates:
1. <ui:debug> is recommended using development stage , which is define in web.xml like this:


<context-param>
   <param-name>javax.faces.PROJECT_STAGE</param-name>
   <param-value>Production</param-value>
 </context-param>
 



2. you are given a scenario to choose flash scope or conversation scope.
In my opinion, if a bean may be used in parallel in two different browser's windows, we should define its scope as flash instead of conversation.
In conversation scope, we can open two tabs in a browser and access an application in parallel.  If the bean contains data which will be persisted in DB, it should not be in conversation scope.
What happens if two tabs access and update the same data at the same time?
That is just my opinion. I am not sure what the exam expects.

3. In <navigation-case>, <if> should be a bean property value  , not a bean method. I think it should be <if>#{bean.x == true} </if> , not <if> #{#bean.getX == true}</if>
Example: https://www.mkyong.com/jsf2/conditional-navigation-rule-in-jsf-2-0/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic