Before you begin, you must complete Exercise 4.1: Opening the Web perspective.
Web projects hold all of the Web resources that are created and used when developing your Web application. The first step to creating or importing a Web application is to create either a static or a dynamic Web project. Static Web projects are meant to contain only simple Web site resources, such as HTML files. Dynamic Web projects are used to structure Web applications that will use more complicated, dynamic Web technologies, such as JavaServer Page files, and possibly data access resources.
To create a dynamic Web project:
This starts the Dynamic Web Project wizard. The initial page of the
wizard opens.
This is where your project is stored in your file system.
These options allows you to specify the J2EE version for the Web
project. If you plan to use the WebSphere Application Server Version 6
only, then you select J2EE version 1.4. If you are using
previous versions of WebSphere Application Server in your environment and are
planning to deploy the Web application to these versions then you use J2EE
version 1.3 or 1.2 since these earlier versions of WebSphere
Application Server don't support the J2EE version 1.4. In
this exercise you use the Web application in the WebSphere Application Server
(also known as the WebSphere Test Environment), which is Version 6.0,
so you use J2EE version 1.4 which is the default.
A new or existing Enterprise Application project must be associated with your new Web project for purposes of deployment.
The Enterprise Application project is new, so you typed the name of the new project. When your Web project is created at the end of the wizard, the new Enterprise Application project (EAR file) is also created. The default is an Enterprise Application project named DefaultEAR located in the same directory as your new Web project.
By default, the Web project's J2EE level is set to the Workbench's J2EE version.
Any new servlets and JSP files that you create should adhere to the latest specification level available; previous specification levels are offered to accommodate any legacy dynamic elements that you expect to import into the project.
The Features page opens.
Now you are back in the workbench and your new project and project files
appear in the Project Explorer.
You know the difference between a static Web project and a dynamic Web project and have set up a dynamic Web project and now you are ready to begin Exercise 4.3: Setting up the iSeries server information.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.