Show TOC Start of Content Area

Procedure documentation Rebuilding the Projects and Redeploying the Application Locate the document in its SAP Library structure

Use

The next step is to make your changes available on the AS Java by rebuilding and redeploying the application.

Prerequisites

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The J2EE perspective is displayed in the SAP NetWeaver Developer Studio.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The quick car rental application’s projects are displayed in the J2EE Explorer.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

You have completed the steps for requiring authentication, creating the permission classes and checking the permissions in the application.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

All modified files are saved.

Caution An asterisk (*) appears next to any file names for files that have not been saved.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The AS Java and SDM server are running and you can connect to the AS Java from the Developer Studio.

Procedure

...

       1.      Choose Project ® Rebuild All.

This step rebuilds the EJB, Web, and if applicable, the Web Dynpro projects.

       2.      You still have to rebuild the application archive. Select the J2EE_QuickCarRentalEar project, open the context menu and choose Build Application Archive.

       3.      Expand the J2EE_QuickCarRentalEar project.

       4.      Select the J2EE_QuickCarRentalEar.ear file, open the context menu and choose Deploy to J2EE engine.

The status of deployment appears in the Deploy Output View pane.

       5.      If you are working with the Web Dynpro tutorial, then deploy the Web Dynpro application:

                            a.      Change to the Web Dynpro perspective.

                            b.      Choose the Web Dynpro Explorer.

                            c.      Open the context menu for the TutWD_CarRental ® Web Dynpro ® Applications. project and choose Deploy.

Result

Your application is deployed to the AS Java.

Next Step:

You now have to create the actions that correspond to the permissions that are checked in the application.

If you are working with the J2EE-based tutorial, see Defining Actions in the actions.xml File.

If you are working with the Web Dynpro tutorial, see Defining Actions in the actions.xml File.

 

End of Content Area