!--a11y-->
Rebuilding and Deploying the
Application 
After you have created the J2EE security roles for the JSP and the EJBs, you can rebuild and deploy your application.
|
|
The quick car rental application’s projects are displayed in the J2EE Explorer. |
|
|
You have completed the steps for specifying the authentication methods, the security role information, and the security constraints. |
|
|
You have saved all files.
|
|
|
The AS Java and SDM server are running and you can connect to the AS Java from the Developer Studio. |
...
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.
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.