Start of Content Area

Procedure documentation Creating a Web Dynpro Development Component Project  Locate the document in its SAP Library structure

Development components (DCs) are a central part of the SAP Java Development Infrastructure. When you create a DC, a Java application is prepared for a possible integration into the Java infrastructure. This also applies to the Java Web Dynpro application; a Web Dynpro DC project is thus a special DC project. In a DC, you can define public parts for the cross-project reuse of entire application parts. This allows development across computer, user, or team boundaries. Important introductory information in available under Component Model.

The Web Dynpro perspective provides wizard support for creating a Web Dynpro development component (DC) project. All functions provided by the Web Dynpro tools are available both for non-DC projects and for DC projects.

Prerequisites

Before you create a DC project, you must import a DC configuration file into the development environment. The Web Dynpro perspective provides support in the form of a wizard. Information about the configuration file itself is available under Working with Development Configurations.

Procedure

To create a Web Dynpro DC project, proceed as follows:

...

       1.      Choose File New Development Component Project and choose Next to proceed to the second wizard window. Make the required entries, such as the name.

This graphic is explained in the accompanying text

You should keep the project name as short as possible. The path name of the URL generated for the application cannot exceed 255 characters.

       2.      In the next window, assign your DC to a software component. For this, refer to the infrastructure documentation Working with Components.

Result

In the Web Dynpro Explorer, the Web Dynpro DC project is displayed as the main node. The tree hierarchy of the Web Dynpro DC project contains directories that represent the definable Web Dynpro entities. The display of the logical project structure in the Web Dynpro Explorer corresponds 1:1 to the display of a non-Web Dynpro DC project.

In the file system, the classes of the Web Dynpro DC project are generated into the WDA file, which in turn is packed into the app.jar file. app.jarcan be found in the directory PORTAL-INF/lib.

 

End of Content Area