Show TOC Start of Content Area

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

Use

After you have created the J2EE security roles for the JSP and the EJBs, you can rebuild and deploy your application.

Prerequisites

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 specifying the authentication methods, the security role information, and the security constraints.

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

You have saved all files.

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 and Web projects.

       2.      You still have to rebuild the EAR file. Select the J2EE_QuickCarRentalEar project, open the context menu using the right mouse button, and choose Build Application Archive.

       3.      Confirm the message that the EAR has been built with OK.

       4.      Expand the J2EE_QuickCarRentalEar project.

       5.      To deploy the EAR file, select the QuickCarRentalEar.ear file, open the context menu and choose Deploy to J2EE engine.

       6.      If prompted, enter the SDM password.

A message appears in the Deploy Output View section indicating the status of deployment.

Next Step:

Your application is now available on the AS Java. However, before you can test the access protection, you have to create the test users and assign them the appropriate roles.

See Creating the Users.

 

End of Content Area