Building, Deploying, and Running Your Application

Now that you have reached this stage, you can start the fully developed example application in the Web Browser as described below.

Prerequisites

The QuickCarRental Web service used in the example application is available on the SAP J2EE Engine.

You have made sure that the SAP J2EE Engine has been launched and that you are connected to an appropriate database instance of the SAP DB.

To do this, refer to Starting and Stopping the SAP J2EE Engine

 

Procedure

Building the Project

...

...

                            a.      Save the current status of the metadata for the project using the button  in the upper application toolbar of your Developer Studio, if you have not already done so.

                            b.      Open the context menu for the project node (TutWD_CarRental_Init) in the Web Dynpro Explorer and choose  Rebuild Project. Make sure that the Tasks view does not display any errors for your project. You can ignore any warning messages for labelFor properties that have not been set.

Deploying and Launching the Application

...

                            a.      In the Web Dynpro Explorer, open the context menu for the application object  CarRentalApp.

                            b.      Choose  Deploy New Archive and Run.

Result

The Developer Studio performs the deployment process in one single step, based on an automatically generated Enterprise Archive File, and then automatically launches your application in the Web Browser.

Test your newly developed Web Dynpro application by entering data into the input fields and then clicking the button Rent a Car.

After you have triggered a server roundtrip (here you communicate with the QuickCarRental Web service), the returned result is displayed on the user interface in the Web Browser.