Show TOC

Procedure documentationBuilding, Publishing and Removing Published Java EE Applications Locate this document in the navigation structure

 

To streamline your development process, SAP NetWeaver Developer Studio allows you to build, deploy and undeploy your Java EE applications in one step. This saves you time from having to build and to deploy your Java EE applications separately. The publish option uses the build, deployment and undeployment functionality of AS Java.

Note Note

If you have already built your application and you want to deploy it, you have to use another deployment option. More information: Deploying Archives

End of the note.

Note Note

You have to use the SAP NetWeaver Developer Studio if you want to deploy an SAP-specific archive. More information: Deploying and Undeploying with SAP NetWeaver Developer Studio

End of the note.

Prerequisites

  • A running AS Java is registered and marked as the default system in the SAP NetWeaver Developer Studio. This is done by opening   Windows   Preferences   SAP AS Java  .

  • A Java EE application is created in the SAP NetWeaver Developer Studio.

  • The Project Explorer view of the SAP NetWeaver Developer Studio is open.

Procedure

Publishing Java EE Applications from the Project Explorer View
  1. In the context menu of the application in the Project Explorer view, choose   Run As   Run on Server  . The Run on Server dialog box appears.

  2. Define a server. You can:

    • Select an existing server

    • Manually define a new server.

      Recommendation Recommendation

      If you have to use multiple systems with the same SID, you need to register them in different domains via   Windows   Preferences   SAP AS Java  .

      End of the recommendation.
  3. Choose Next. The Add and Remove Projects page of the Run on Serverwizard appears with the application already moved to the Configured Projects list.

  4. Choose Finish. The application is published and opened in a browser with automatically generated URL.

Publishing Java EE Applications from the Servers View
  1. In the context menu of the server in the Servers view, choose Add and Remove Projects.

  2. From the Available projects list select the projects you want to publish.

  3. Choose Add or Add All.

  4. Choose Finish.

Removing Published Applications

To remove applications from the server where they reside:

  1. In the context menu of the server in the Servers view, choose Add and Remove Projects.

  2. Select the project in the Configured Projects list.

  3. Choose Remove.