Deploying a Web Application

You can deploy your Web application to EAServer or run it on Apache Tomcat. Both servers are installed locally. You can start, stop, or refresh EAServer and Tomcat inside Sybase Workspace.

Tomcat supports hot deployment, which means modifications to a page are refreshed in the runtime environment. When you run a project on Tomcat, the Web application is automatically deployed.

To deploy a Web application using EAServer:

  1. Right-click the Web application project that you want to deploy in the WorkSpace Navigator and select Deploy from the context menu.

    The Project Deployment dialog box appears.

  2. Select the connection profile that you want to use and click OK.

    The Deployment finished with status: Succeeded confirmation box appears.

  3. Click OK.

To run a Web application using Tomcat:

  1. Right-click the Web application project that you want to run in the WorkSpace Navigator and select Run as from the context menu.

    The Web application is automatically deployed.

    Note

    To deploy a Web application to a Tomcat server outside of the Sybase WorkSpace environment, export the application into a War file and manually follow the Tomcat server deployment process.

Starting Sybase Developer Edition Servers

Stopping Sybase Developer Edition Servers

Using a Default Connection Profile

Deploying and Debugging a Web Application

Deploy

WorkSpace Navigator

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com