This sample contains a working Web application based on JavaServer
Faces (JSF) technology.
Prerequisite:
Install the SDO feature:
- Open the IBM Installation Manager.
- Click Modify. The Modify Packages page opens.
- In the package list, select the package group that you want to modify,
then click Next.
- Expand Web Development Tools.
- Select SDO - Domino and JDBC mediators, then click Next.
- Click Modify. The SDO feature is installed.
When the import is complete, follow these steps to run the sample
and test it on a server:
- Open the Web perspective (click ).
- Migrate your project to the current version of this product:
- Once the import is complete, the Workspace Migration wizard
opens with the classifieds project selected. Click Next.
- The Migration Project Resources page of the wizard lists the
resources that will be migrated. Click Finish. Your project is migrated. The Migration Results view displays
the results of the migration.
- Ensure that you have an available supported server:
- Open the Servers view (click ).
- If the Servers view is empty, define a new server by right-clicking
the Servers view and selecting . Follow the instructions in the New Server wizard.
- Target the Web project against a runtime:
- In Enterprise Explorer, right-click classifiedsEAR and
select Properties.
- Click Targeted Runtimes.
- Select a target runtime from the runtimes list.
- Click OK to apply the change and close
the Properties window.
- In Enterprise Explorer, right-click classifieds and
select . The Run On Server window opens.
- Select an installed server. The server needs to work with the runtime
that you targeted against the Web project.
- Click Finish. If the server has not already
been started, you are prompted to start it.
The JSF Classified Ads Web site sample publishes to the server.
A Web browser window opens and displays an initial page that redirects you
to the Web site home page.