...
6. On the JSF Capabilities wizard, check the second radio button and click on the New button by the side of the combo box.
This will open Create JSF Implementation Library wizard. Provide the Library Name as MyJSFLibrary_and add the following jars by clicking on the _Add button. Finally, click on the Finish button.
...
10. Copy myfaces_core.tld
and myfaces-html.tld}}files into the tld folder. These {{*.tld
files are available in the myfaces-api-1.2.2.jar
file.
11. We are going to use JPA to connect to EmployeeDB database created in the embedded Derby database. JPA uses persistence.xml
file for configuration. Create a META-INF folder in the EmployeeWEB => build => classes folder in the Project Explorer. The contents of the persistence.xml
are as follows.
...
21. Click on the ManagedBean_tab below and Click on the _Add button.
This will open New Managed Bean Wizard.
...
- Similarly, click the mouse over
RetrieveEmployee.jsp
and move the mouse toindex.jsp
and click once.
...
- Click the mouse over
RtrieveEmployee.jsp
and move the mouse overeditEmployee.jsp
and click once.
- Click the mouse over
editEmployee.jsp}}and move the mouse over {{RetrieveEmployee.jsp
and click once.
...
29. Press the escape button once and click on the link between addEmployee.jsp
and index.jsp
.
On the Properties window at the bottom, go the From Outcome textbox
and provide the value as saveEmployee.
...