Show TOC Anfang des Inhaltsbereichs

Vorgehensweisen Creating Enterprise Projects Dokument im Navigationsbaum lokalisieren

Use

This creates a project, from which a J2EE application in the form of an EAR file can be generated and deployed.

Procedure

Creating Enterprise Application Projects

       1.      Choose File ® New ® Project.

       2.      On the left pane of the first wizard page, choose J2EE, and on the right pane, select Enterprise Application Project.

       3.      Choose Next.

       4.      In the Project name field, enter a name for your new Enterprise Application project.

       5.      Choose Next.

If you want to create the Enterprise Application project without references to any projects, choose Finish instead.

       6.      Select the projects to be referenced.

       7.      Choose Finish.

Creating Enterprise Application DC Projects

...

       1.      Import the relevant development configuration. See Importing Development Configurations.

       2.      Choose File ® New ® Project.

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

       4.      Choose Next.

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

       6.      Choose Next.

       7.      Specify the project attributes as follows:

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 Component Names.

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 Activities

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 ® Enterprise Application.

 

       8.      Choose Next.

       9.      Choose Next.

If you want to create the Enterprise Application project without references to any projects, choose Finish instead.

   10.      Select the projects to be referenced.

   11.      Choose Finish.

Result

In the J2EE Explorer (for ordinary projects) or J2EE DC Explorer (for DC projects), you can see the Enterprise project. It contains the application.xml and application-j2ee-engine.xml deployment descriptors. If you unfold the application.xml node, you can see the referenced modules (if any). If this is a DC project, it will also have additional components used for working with the NetWeaver Development Infrastructure.

Now you can add modules or, if you have already added the necessary modules, you can build the application EAR file.

 

See also:

Adding Modules to Enterprise Application Projects

Building EARs

Deploying EARs

EAR Configuration

Ende des Inhaltsbereichs