Entering content frame

Procedure documentation Scenario 2: Step 4 – Testing and Checking In a DC Locate the document in its SAP Library structure

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

DC Build

...

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

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

A message window appears that shows the affected DCs.

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

Note

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

Deployment

...

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

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

This will deploy the library to the configured runtime system.

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

You see the message ”Successfully deployed file…”.

Execute the Application

...

       1.      To be able to launch the tax.jsp file in a web browser, you must create a so-called run configuration. To do this, from the menu choose Run  ® Run…

The Run wizard appears.

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

       3.      Under Enterprise Application Project, choose Browse.

A dialog window appears.

       4.      Now select the Enterprise Application Project (...~application~tax~...) to which the JSP file belongs.

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

Note

That is all you have to enter in the Web Objects tab. As far as the J2EE engine tab is concerned, the settings from Window ® Preferences ®SAP J2EE Engine are taken automatically.

       6.      Enter taxservlet as the name for the newly created run configuration and choose Apply to save the run configuration settings.

       7.      To start the JSP page using the newly created run configuration taxservlet, choose Run.

Your application runs in the browser.

       8.      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 Checkin.

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

Result

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

 

 

 

 

Leaving content frame