Creating a WebFacing Web project
About this task
The WebFacing Web project is Struts-based and uses Struts 1.3. The Java™ EE level depends on the version of WebSphere® Application Server targeted during project creation.
To create a WebFacing Web project:
Procedure
- Click File > New > Project.
- Expand WebFacing in the Wizards pane, select WebFacing Web Project, and then click Next to open the WebFacing Web Project wizard.
- In the WebFacing Web Project wizard:
- Enter a name for your project in the Project name field.
- In the Project location field, when Use default location is selected, the project is created in the file system location where your workspace resides. To change the default file system location, clear the check box and locate the path using the Browse button.
- Select a server in the Target runtime combo box. The server you select determines the project's Java EE version. Note that this combo box is disabled if the EAR project already exists. To ensure that you can select a server, specify a new EAR project in step f below.Click New Runtime to define a new server.
Notice the Dynamic web module version of your
WebFacing project. The dynamic web module version adds support for the
Java Servlet API and corresponds to the Java EE level. You can modify
this setting on the Project Facets page. Access the page with the Modify
button beside the Configuration field. 
- Use the default configuration for the server you selected or select <custom> if you want to configure the project yourself. If you want to modify a project configuration, click Modify to display the Project Facets page. You can add or remove facets from your project using the Project Facets page.
- Ensure that the Add project to an EAR check box is selected. A default name for the EAR project is provided if this is the first project you create. If your workspace already contains an EAR project, it will be selected as the default. You can change the EAR project name or keep the default.
- Click Next. The next few screens allow you to select
display file and UIM source members to convert. If you want to create
the WebFacing Web project without converting, click Next until you see
the Complete WebFacing Project page and click Finish to create the
project. Note:
If you select Configure
advanced settings, the next few screens allow you to specify advanced
project settings, such as, the Java build path and Web module settings.

Results
To add WebFacing support to an existing Web project:
- Right click on the Web project and select Properties. This displays the properties dialog for the project.
- Select the Project Facets node.
- Click OK to create an unconverted WebFacing project, or click the Further
configuration available link to specify the settings for your WebFacing project
as described below. Note:
WebFacing Web projects
require Java EE 1.4, or later. 
- Click Next. The next screens allow you to select display file and UIM source members to convert.
-
Handling non-WebFaced IBM i applications using dynamic data stream transformation
-
WebFacing performance considerations within Eclipse workbench
Related concepts:
Introducing the WebFacing Tool
Related information: