Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I would strongly recommend getting someone experienced in JSF to lead your first project in JSF even if this means paying a contractor for 3 months. The JSF approach is very different to JSP. The way you approach and solve problems is very different.</p> <h2> Libraries </h2> <p>Consider the following libraries:</p> <ul> <li><a href="http://myfaces.apache.org/tomahawk/index.html" rel="nofollow noreferrer">Tomahawk</a></li> <li><a href="http://www.jboss.org/jbossrichfaces/" rel="nofollow noreferrer">RichFaces</a></li> <li><a href="http://shale.apache.org/" rel="nofollow noreferrer">Shale</a></li> <li><a href="http://myfaces.apache.org/trinidad/index.html" rel="nofollow noreferrer">Trinidad</a></li> <li><a href="http://spring.io/" rel="nofollow noreferrer">Spring</a></li> </ul> <h2>Architecture</h2> <p>Embrace <a href="http://en.wikipedia.org/wiki/Model-view-controller" rel="nofollow noreferrer">MVC</a> you need not only to know what this means but use it extensively.</p> <p>There are two main patterns for associating controllers with the views</p> <h3>Dot Net Style, One Request controller per view</h3> <p>Every top level page has a request scoped controller (bean) all validation and actions of the page use this class. Also used for filtering and ordering the Model. The Model will be stored on a few session level controllers which will handle talking to the back-end (EJBs, or persistence layer) these session controllers should be implementing the business logic and have no knowledge of JSF,HTML or any presentation technology.</p> <h3>Controllers are session level</h3> <p>Design controllers based on your data model, nest them with in each other. (This post is getting too long so I wont go into the nuts and bolts of these).</p> <h2>Knowledge Required</h2> <p>Everyone:</p> <ul> <li><a href="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFIntro10.html" rel="nofollow noreferrer">Life Cycle</a></li> <li>MDC</li> <li>Component based development</li> <li>Tags in <a href="http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/overview-summary.html" rel="nofollow noreferrer">h: and f:</a> </li> </ul> <p>At Least One Person:</p> <ul> <li><a href="http://blogs.steeplesoft.com/jsf-component-writing-check-list/" rel="nofollow noreferrer">Creating Custom Components</a></li> <li>Limitations to JSF (back button, random navigation, etc) </li> <li>Debug 3rd party libraries (At least one person has to be comfortable breaking out the debugger and stepping into the implementation of JSF (easiest with open source implementations like MyFaces))</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload