Entering content frame

Procedure documentation Creating Web Module DCProjects Locate the document in its SAP Library structure

Use

Before you create web resources, such as JSPs or servlets, you need a Web Module project to which you can assign them. The Web Module project also contains the deployment descriptors that will be included in the WAR file when the project is built. The Web Module Project can be referenced from an Enterprise Application project for deployment.

Prerequisites

The relevant development configuration has been imported. See Importing a Development Configuration.

Procedure

       1.      Choose File ® New ® Project…

       2.      On the left pane of the first wizard page, choose Development Component, and on the right pane, select Development Component Project.

       3.      Choose Next.

       4.      Select the software component to which the development component is to be assigned.

       5.      Choose Next.

       6.      Specify the project:

Attribute

Description

Vendor

Globally unique vendor ID. It is recommended that you derive this name from the Internet domain of the provider (for example, sap.com).

Name

Unique component name. For more information, refer to Structure linkSyntax of naming.

Caption

Name with which the DC is referred to in visual tools.

Language

Original language of the DC project.

Local Development Component

Flags the DC as a local DC. You should only activate this option if the DC is not to be checked in to the DTR, but only to be created locally. In this case, no assignment is made to a DTR activity.

However, you can assign the local DC to an activity at a later stage in the project processing. 

Sync Used Archives

Select this if you want to add a standard set of DCs to be used to the DC to be created. The relevant DCs are then synchronized from the DTR and listed individually in the new DC project under Used DCs.

Type

Choose J2EE ® Web Module.

       7.      Choose Next.

       8.      Choose Finish.

Result

In the J2EE DC Explorer view, you see something like this:

This graphic is explained in the accompanying text

You can now add web resources to the project.

Related Procedures

Creating Packages

Creating Servlets

Creating JSP Files

Creating Listeners

Creating Filters

Building Web Module DC Projects

 

Leaving content frame