Show TOC Start of Content Area

Procedure documentation Testing, Checking In and Activating the DC  Locate the document in its SAP Library structure

Use

In this step you perform the final steps of the DC management.

Prerequisites

You are in the J2EE Development perspective in the J2EE DC Explorer view.

Procedure

DC Build

            ...

       1.      Select the node of the Enterprise Application Project(...~appl~tax~...).

       2.      From the context menu, choose Development Component Build.

A message box appears that shows the affected DCs.

       3.      Select the DCs to be built (if necessary) and choose OK.

The enterprise application is built and all components it depends on. You should see a new entry example.org~application~tax.ear in your enterprise application project.

Deploy

            ...

       1.      Under the node of the Enterprise Application Project(...~appl~tax~...) select the EAR file example.org~appl~tax.ear.

       2.      From the context menu, choose Deploy to J2EE Engine.

This deploys the library to the configured runtime system.

       3.      Monitor the ongoing process in the Deploy Output and General User Output views.

You see the message Successfully deployed file… .

Note

If there are problems during the deployment, double-click on the file application.xml in your application project to open it, select the Source tab in the editor, and replace the entry in the TAG ContextRoot by a new value.

Executing the Application

            ...

       1.      To launch the tax.jsp file in a Web browser, you have to create what is called a run configuration. To do this, from the menu, choose Run  Run…

The Run dialog appears.

       2.      In the Configurations box, select J2EE Application and choose New.

       3.      Under Enterprise Application Project, choose Browse.

A dialog box appears.

       4.      Now select the Enterprise Application Project (...~appl~tax~...)to which the JSP file belongs and confirm with OK.

       5.      To select the JSP file tax.jsp, enable the radio button named JSP.

       6.      Choose Browse, navigate to your JSP file, select it, and choose OK.

       7.      Enter taxservlet as the name of the newly-created run configuration and choose Apply to save the run configuration settings.

       8.      To start the JSP file using the created run configuration taxservlet, choose Run.

Your application runs in the browser.

       9.      Enter your income and press the button.

Your application is launched in the browser.

Check-In

            ...

       1.      In the Open Activities view, select your activity New J2EE Application and in the context menu, choose Check-In.

       2.      Enter a description of your changes if you like and choose OK.

A dialog window Activation appears.

       3.      Choose OK.

Your DCs are built and activated centrally.

Result

Your application has been tested and is now available on the server.

Next Step

Releasing and Transporting the Application

End of Content Area