Show TOC

Creating J2EE 1.4-Compliant Web ComponentsLocate this document in the navigation structure

Use

In this document you can find the differences between the wizards for creating J2EE 1.4-compliant and Java EE 5-compliant Web components in the Developer Studio. They are both created using the Dynamic Web Project wizard but with different project facets for each version.

Procedure

1. Create a Dynamic Web Project

  1. Choose the New pushbutton.

  2. Select Start of the navigation path Web Next navigation step Dynamic Web Project End of the navigation path, then choose Next .

  3. In the Dynamic Web module version field, select 2.4 .

  4. Specify the desired additional project settings.

  5. (Optional) To configure the project facets, choose Modify in the Configuration area.

    You can add Java Persistence, Axis2 Web Services, JavaServer Faces and WebDoclet facets.

    Note

    You can change the project facets later at any time by choosing Start of the navigation path Properties Next navigation step Project Facets End of the navigation path in the project context menu.

  6. In the Target Runtime field, select SAP Libraries . This automatically sets the necessary libraries for building the project as specified in the Configuration field.

  7. Choose Finish .

For more information about creating Java EE 5-compatible Web components, se Creating Dynamic Web Projects .

2. Create Servlet and JSP Components

The wizards for creating servlets and JSPs in J2EE 1.4 Web components are the same as the wizards in Web 2.5 components.

For more information, see:

Creating Servlets in the Developer Studio

Creating JSP Files in the Developer Studio

3. Edit Deployment Descriptors

When you create a Dynamic Web project, the Developer Studio automatically creates both web.xml and web-j2ee-engine.xml . You can use the multipage editor for editing the deployment descriptors to configure your Web components.

For more information, see web-j2ee-engine.xsd .