Step 1: Create a JSF Enabled Web Project
In this step you will set up a JSF-enabled web project.
The tasks in this step are to:
If you haven't started Workshop yet, follow these steps: Start
Create a New Workspace (Optional)
If you would like to execute the tutorial in a separate workspace follow these
a New Workspace.
Note: If you already have a workspace open, this
will restart Workshop. Before beginning, you might want to launch help in standalone
mode to avoid an interruption the restart could cause, then locate this topic
in the new browser. See Using
Help in a Standalone Mode for more information.
Configure WebLogic Server
In this step you will add a WebLogic Server domain for use with Workshop.
This server domain contains runtime libraries required by the application and
the application will be deployed to this server.
Create a New Web Project and a New EAR Project
- Right-click anywhere within the Project Explorer view
and select New >
Dynamic Web Project.
In the Project Name field, enter
Place a checkmark next to Add project to an EAR.
Confirm that the field EAR Project Name shows the value:
- Click the Configurations dropdown and select WebLogic
Web Project Facets with Beehive (v10.3).
- Locate the JSF facet. In the Version column
reset the value to version 1.1.
Place a checkmark next to the JSF facet and click Finish.
Import Files into the Web Project
In this step you will import control files into your web project, control files
that provide access to customer data.
- On the Project Explorer tab, open the nodes JSFWeb
> Java Resources.
- Open Windows Explorer (or your operating system's equivalent) and navigate
to the directory BEA_HOME/workshop_10.3/workshop4WP/eclipse/plugins/com.bea.workshop.product.wl.samples_<version_number>/tutorials/resources/jsf/ and
locate the folders businessObjects and controls.
- Drag the folders businessObjects and controls
into the Project Explorer tab directly onto the folder JSFWeb/Java
- Confirm that the following directory and file structure exists before proceeding.
Integrating Java Server Faces into a Web
Click one of the following arrows to navigate
through the tutorial:
Still need help? Post a question on the Workshop