Show TOC Start of Content Area

Procedure documentation Building, Publishing and Removing Published Java EE Applications  Locate the document in its SAP Library structure

Use

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

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

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

Prerequisites

      A running AS Java is specified in the SAP NetWeaver Developer Studio.

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

Procedure

Publishing Java EE Applications from the Project Explorer View

...

       1.      Click with the secondary mouse button on the application in the Project Explorer view.

       2.      From the pop-up menu, select Run As Run on Server. The Define a New Server view of the Run on Server dialog box appears.

       3.      Define a server. You can:

       Choose an existing server

       Manually define a new server.

       4.      Click Next. The Add and Remove Projects view of the Run on Server dialog box appears with the application already moved to the Configured Projects list.

       5.      Click Finish.

Publishing Java EE Applications from the Servers View

...

       1.      In the Servers view, click with the secondary mouse button on the server to which you want to publish your application.

       2.      From the pop-up menu, select Add and Remove Projects.

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

       4.      4.      Click Add or Add All.

       5.      Click Finish.

Removing Published Applications

To remove applications from the server where they reside:

...

       1.      Click with the secondary mouse button on the server from which you want to remove the application.

       2.      From the pop-up menu, select Add and Remove Projects.

       3.      Select the project in the Configured Projects list.

       4.      Click Remove.

To remove a specific application from the server where it resides:

...

       1.      Click with the secondary mouse button on the application you want to remove.

       2.      From the pop-up menu, select Remove.

End of Content Area