Deploying an Application to a Server
You can deploy your application to any server, but there are certain types of servers that Exadel Studio supports directly (through the bundled Eclipse Web Tools Project, WTP, plug-ins). To deploy to this type of directly supported server you need to follow these steps:
- If the server you want to use is not already defined, you need to define it.
- Register your application with the defined server.
Defining the Server
To use a server for direct support in Exadel Studio, it needs to be defined. A special Servers view (usually at the bottom of the screen) lists all currently defined servers. If you can't see this view, you can open it by selecting Window/Show View…/Other/Server/Server from the menu bar. Expanding the server will show any deployed applications for that server.
If you followed the default installation, you will already have a Tomcat 5.0 server defined. To add a new server to this view, right-click anywhere in the Servers view, select New/Server, and follow the wizard's steps.

Note: when adding a new server you will need to specify what JRE to use. It is important to set this value to a full JDK, not JRE. Again, you need a full JDK to run Web applications, JRE will not be enough.
Deploying to the Defined Server
There are two times to deploy your application:
- While creating it
- After it already exists
New Application
When you create a new JSF or Struts project with the New Project or Import Project wizards, the second screen called Web has a Target Server section. You can deploy the application through the appropriate selection in this section.
|
The default installation defines a Tomcat 5.0 server that by default will be selected as the target server. |
Existing Application
You can deploy an existing application to a server by right-clicking the target defined server in the Servers view and then selecting Add and Remove Projects... from the context menu.

If this application is not assigned to a server, it will be in the left-hand available projects list. Clicking on the Add > button will add it to the right-hand configured projects list and deploy the application to this server.
