Configuring An Application Server in Eclipse
Configuring An Application Server in Eclipse
Introduction 1
Viewing the configured servers 2
Configuring an application server 3
Introduction
To perform certain operations, such as deploying and testing a web service or Java
application, Eclipse requires that an application server is configured for its use. A wide
range of application servers can be used with Eclipse, such as IBM WebSphere,
JBoss and BEA's WebLogic server. Here, however, I shall focus on the use of Apache
Tomcat because this is a popular, commercially used but open source (free)
application server.
Before configuring Eclipse to use an application server, you must install the server in
question onto your machine. You should already have installed Tomcat as part of the
Eclipse installation in Block 2, but if not you can do so by running the software
installation wizard on DVD 2.
To configure the Tomcat application server you must know where in the file system it
has been installed. The T320 software installation should have created a shortcut on
your desktop called 'T320 configuration'. If you double-click on this it will open a file
containing the installation paths of Tomcat and the Java Development Kit, which are
required for setting up Eclipse. These should be similar to the following:
C:\Program Files\Apache Software Foundation\Tomcat 5.5
C:\Program Files\Java\jdk1.5.0_14
You will need the path to Tomcat later.