In this section, we create an Oracle ADF Faces client to test the entity bean using the wrapper session bean. The ADF Faces library is required in the classpath of the ViewController project. If the ADF Faces library was not added when creating the EJB 3 application, right-click on JSFViewController, and select Project Properties. Transfer ADF Faces from the Available to the Selected column:
As we will be invoking the entity bean (which is in the model project) from a JSF page (which is in the view-controller project) we need to add a dependency in the JSFViewController project on the EJB3Model project. Select the JSFViewController project and select Tools | Project Properties and select Dependencies. Click on the Edit Dependencies button. In the Edit Dependencies window, select the EJB3Model | Build Output and click on OK.