Select Web project on the New Source Project Creation
page to create a new web project for your J2C application.
To create a Web project, complete the following steps:
- 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.
- Click Show Advanced to set the advanced
options.
- 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.
- If you want to add the Web project to your EAR project, select Add
project to an EAR.
- Choose the EAR to add the web module to, or type the name of a
new EAR in the EAR Project Name field.
- Click Next.
- On the Project Facets page, you may accept the defaults or add
other facets to your project..
- Click Next.
- On the Web Module page, ensure that the values are correct:
- 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.
- Content Directory: The default for the Web content directory
is WebContent. You may create a different directory by
typing in an alternate name.
- Java™ Source Directory: The default Java source
directory is src. You may create a different directory
by typing in an alternate name.
- Click Finish.
This will take you to the J2C Java Bean Output Properties page.