Creating a WebFacing Web project

When you create a new WebFacing project, you select WebFacing Web project if you want to deploy your project to a Web application server. By default, the WebFacing Web project will be J2EE 1.4 and Struts-based.

To create a WebFacing Web project:

  1. Click File > New > Project.
  2. Expand WebFacing in the Wizards pane, select WebFacing Web Project, and then click Next to open the WebFacing Web project wizard.

    You can also choose WebFacing Portlet Project when you create a new WebFacing project. This will create a new J2EE 1.4 Struts WebFacing portlet project. You can also add a WebFacing portlet to an existing non-Struts based portlet project.

  3. In the WebFacing Web Project wizard:
    1. Enter a name for your project in the Name field.
    2. Select a server in the Target Runtime combo box. The server you select will determine the project's servlet and J2EE versions. 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 the next step.
    3. Ensure that the Add module to an EAR project check box is selected. A default name for the EAR project will be 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.
    4. 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: Note: If you select Configure advanced settings, the next few screens will also allow you to specify advanced project settings.

To add WebFacing support to an existing Web project:

  1. Right click on the Web project and select Properties. This displays the properties dialog for the project.
  2. Select the Project Facets node.
  3. Click the Add/Remove Project Facets button.
  4. Select the WebFacing and Struts facets (if they are not already selected). You can add other facets to the project but they are not required for a WebFacing project. After this page, you can press Finish to create an un-converted WebFacing project.
  5. Click Next. You can modify Struts settings, or accept the defaults.
  6. Click Next. The next screens allow you to select display file and UIM source members to convert.
Related concepts
Introducing the WebFacing Tool
Related information
WebFacing Tool -- current DDS keyword support

Feedback