Creating a WebFacing Web project

When you create a new WebFacing project, you select WebFacing Web project if you want to deploy to a Web application server. By default, the WebFacing Web project will be J2EE 1.3 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.Information for the Advanced edition of the product In WebSphere Development Studio Client Advanced Edition for iSeries, V5.1.2 and later, you can also choose WebFacing Portlet Project when you create a new WebFacing project. This will create a new J2EE 1.3 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 and click the Show Advanced button if the advanced settings are not already displayed.
      Note: You can add WebFacing support to an existing J2EE 1.4 or J2EE 1.3 Web project by selecting the Add WebFacing support to an existing Web project radio button and selecting the project from the list.
    2. Ensure that the Add module to an EAR project check box is selected.
    3. Check the values for Servlet version and Target server. The servlet versions 2.3 and 2.4 correspond to J2EE levels 1.3 and 1.4, respectively. Note that the version you select determines the version of your target WebSphere Application Server.
    4. The EAR project is NameEAR. For example, if the project name is myproj, the EAR file name will be myprojEAR. You can change the EAR file name or keep the default.
    5. The Context root must be the same name as the project name, otherwise your results are unpredictable. The context root is the Web application root, the top-level directory of your application when it is deployed to a Web server. The value for this field is updated automatically when you enter the project name.
    6. Select the Add support for annotated Java classes check box if you want to use annotation-based programming tags. This option is not required for a WebFacing project.
    7. Click Next. Information for the Advanced edition of the product In the Advanced Edition of the product, you can select:
      Use single signon
      Select this feature to enable users to access multiple applications across platforms using a single user ID and password.
    8. 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.


create project

Related concepts
WebFacing Tool
Related information
WebFacing Tool -- current DDS keyword support