Entering content frame

Procedure documentation Deploying and Executing a Web Dynpro Application Locate the document in its SAP Library structure

When you deploy a Web Dynpro application, it is installed on the Java Engine of the SAP Web Application Server. The application uses the services of the server and is executed using the Web Dynpro runtime. The following is a description of the procedure for deploying and executing a Web Dynpro application, starting from the Web Dynpro perspective. The tools provide context menu functions for projects of the Web Dynpro type. To execute the application, you create a Web Dynpro configuration.

Prerequisites

You have created a Web Dynpro project. In the development environment, you have made the settings for the Java Engine of the SAP Web Application Server by choosing Window ® Preferences ® SAP J2EE Engine.

You start the Java server using the SAP Management Console:

This graphic is explained in the accompanying text

You also have the option of starting the J2EE Engine view in the SAP NetWeaver Developer Studio (choose Window ® Show View ® J2EE View) to check the current status from within the Web Dynpro perspective:

This graphic is explained in the accompanying text

Procedure

To deploy the finished application to the server and then execute the application, proceed as follows:

       1.      In the Web Dynpro Explorer, place the cursor on the project name of the application.

       2.      In the context menu, choose This graphic is explained in the accompanying textCreate archive followed by This graphic is explained in the accompanying textDeploy.

       3.      A success message is displayed when your Web Dynpro application has been deployed to the server. In the next step. you can execute your application and display it in the browser. To execute the Web Dynpro application, choose This graphic is explained in the accompanying textRun. A wizard is started which you can use to create a Web Dynpro configuration.

       4.      Choose New. In the wizard, enter the project name and the application name for the configuration.

       5.      Check Create archive, if you want to create a new archive that is to be newly deployed before each execution of the application. By default, this field is unchecked; the application is executed, but not deployed to the Java server again beforehand.

This graphic is explained in the accompanying text

       6.      Choose Apply followed by Run to execute the application.

Result

The local Web Dynpro application is started and displayed in the browser.

 

Leaving content frame