Creating a Web Project

Select Web project on the New Source Project Creation page to create a new web project for your J2C application.
If you want to learn more about creating web projects, consult the Web Project documentation.

To create a Web project, complete the following steps:

  1. On the Dynamic Web Project page, ensure that your project name appears in the Name field. If your project name does not appear, or it is incorrect, type your project name in this field.
  2. Click Show Advanced to set the advanced options.
  3. Select the version of WebSphere® Application Server that you want to deploy to in the Target server field.
    Note: WebSphere Application Server 5.1 Express is not supported and should not be chosen.
  4. If you want to add the Web project to your EAR project, select Add project to an EAR.
  5. Choose the EAR to add the web module to, or type the name of a new EAR in the EAR Project Name field.
  6. Click Next.
  7. On the Project Facets page, you may accept the defaults or add other facets to your project..
  8. Click Next.
  9. On the Web Module page, ensure that the values are correct:
    1. Context Root: The default for the root folder is the name of your project (for example, CustomerProject). You can specify a different root directory for your Web project by typing in an alternate name.
    2. Content Directory: The default for the Web content directory is WebContent. You may create a different directory by typing in an alternate name.
    3. Java™ Source Directory: The default Java source directory is src. You may create a different directory by typing in an alternate name.
  10. Click Finish.
This will take you to the J2C Java Bean Output Properties page.

Feedback