Show TOC

Procedure documentationPreparing, Deploying and Running the Application Locate this document in the navigation structure

Procedure

Creating the dependency between the EAR and Dictionary development components
  1. Open the Development Infrastracture perspective by choosing   Window   Open Perspective   Development Infrastracture   .

  2. Under Local Development/ My Components select app_ear.

  3. Under Component Properties select Dependencies and choose Add.

  4. Under Local Development/ My Components select the app_dict indicator, then under New required DCs select app_dict again and choose Next, then select the Runtime and Deploy Time indicators and choose Finish.

Adding a new application name in the EAR application XML
  1. Open the Java EE perspective by choosing   Window   Open Perspective   Java EE   .

  2. From the app_ear context menu select   Java EE   Generate Deployment Descriptor Stub   .

  3. Open with XML Editor the application.xml under app_ear/META-INF.

  4. Under Design tab page, browse to the context-root and enter sEDM.

  5. Save the configuration.

Building and deploying the application

Note Note

Make sure you have configured a running SAP system (server) under Window/Preferences of your SAP NetWeaver Developer Studio.

End of the note.
  1. From the context menu of app_ear select   Development Component   Build  .

  2. Select app_ejb , app_web (app_ear is selected by default) and choose OK.

  3. From the context menu of app_ear select   Development Component   Deploy  .

  4. Select app_dict , (app_ear is selected by default) and choose OK.

Running the application
  1. In your web browser enter http://<system>:<port>/sEDM.

    For example, http://pwdf6180:50000/sEDM.

  2. After starting the application you can select List projects and List employees in the application user interface.

  3. Make sure you enter data for all the requested fields.

    For example, for a new project you need to enter name, status, and so on.