SlideShare a Scribd company logo
1 of 8
Download to read offline
T320 E-business technologies: 
foundations and practice 
Configuring an Application Server in 
Eclipse 
Prepared for the course team by Neil Simpkins 
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 FilesApache Software FoundationTomcat 5.5 
C:Program FilesJavajdk1.5.0_14 
You will need the path to Tomcat later. 
Copyright © 2008 The Open University 
This document is made available under the Creative Commons Attribution - No Derivative 
Works 3.0 Unported Licence (http://creativecommons.org/licenses/by-nd/3.0/) WEB 00713 4 1.1
T320 E-business technologies: foundations and practice 
Viewing the configured servers 
Eclipse can be configured to access several application servers. When you create 
certain types of project or perform some operation that uses an application server, you 
may then select the appropriate server from the list of those available. Eclipse will 
manage the server, starting it and displaying its status for you. 
To view the servers that have been set up within Eclipse, open Eclipse by double-clicking 
on the 'Eclipse for Block 3' shortcut. If this is the first time you have used this 
shortcut you will see the Welcome screen; either click on the 'Workbench' button or 
close the tab in the top left-hand corner. Once the workbench is showing, select 
Window > Show view > Servers…, (Figure 1). 
Figure 1 Selecting the Servers view 
The Servers view will open at the bottom of Eclipse. It may be empty or it may list one 
or more configured servers. In Figure 2 the list is empty but in Figure 3 a single 
Tomcat 5.5 server is shown. You need to have at least one such server configured to 
run applications on. 
Figure 2 Eclipse Servers view without any application server configured 
Configuring an Application Server in Eclipse | 2
T320 E-business technologies: foundations and practice 
Figure 3 Single Tomcat 5.5 server listed in Servers view 
Configuring an application server 
A wizard is used to configure a new server. Select File > New > Other…, then open 
the 'Server' folder and select 'Server' (Figure 4). Click 'Next'. 
Figure 4 Selecting the New Server wizard 
You will then see a dialogue box that allows you to select from the types of server that 
you have available (Figure 5). Select the Tomcat 5.5 server under the ‘Apache’ folder, 
unless you have installed another server that you prefer to use, and click 'Next'. 
Configuring an Application Server in Eclipse | 3
T320 E-business technologies: foundations and practice 
Figure 5 Choosing the type of server to create 
In the next dialogue box (Figure 6) you are required to specify the path to the installed 
server and to select a Java Runtime Environment (JRE). Set the server path to point 
to your installed Tomcat (see the 'T320 configuration' shortcut). 
If you have used DVD 2 to install Eclipse and Java then you may leave the selected 
JRE to be the 'Workbench default JRE' option, as shown in Figure 6. If you have an 
installation of Java outside the Eclipse installation then this should appear in the drop-down 
list; if this is not the case but you have installed Java then you can add your 
installation to the list by clicking the 'Installed JREs…' button and browsing to the 
location. 
When you are ready, click 'Next'. 
Configuring an Application Server in Eclipse | 4
T320 E-business technologies: foundations and practice 
Figure 6 Specifying the server installation path 
The next dialogue box allows you to add any projects to the server (Figure 7). This will 
mean that the project code is run on the specified server. If you have yet to create a 
project that you want to run on the server then this can be done later when you create 
or start to run the project. 
Add whatever projects you require to the server (Figure 8) and click 'Finish'. 
The server you have specified should now appear in the Servers view (Figure 9). 
A server can be started or stopped by right-clicking on the server in the Servers view, 
but Eclipse will itself offer to start the server when this is required. 
Now that a server has been configured, it can be used to host web pages, applications 
and web services. 
Configuring an Application Server in Eclipse | 5
T320 E-business technologies: foundations and practice 
Configuring an Application Server in Eclipse | 6 
Figure 7 Adding projects to a server
T320 E-business technologies: foundations and practice 
Configuring an Application Server in Eclipse | 7 
Figure 8 Selected projects added to the server
T320 E-business technologies: foundations and practice 
Configuring an Application Server in Eclipse | 8 
Figure 9 New server listed in Servers view

More Related Content

What's hot

Delphi - Howto Services
Delphi - Howto ServicesDelphi - Howto Services
Delphi - Howto Services
Niall Munro
 

What's hot (15)

Mule debugging
Mule   debuggingMule   debugging
Mule debugging
 
VirusScan Enterprise v8.8
VirusScan Enterprise v8.8VirusScan Enterprise v8.8
VirusScan Enterprise v8.8
 
JUnit and MUnit Set Up In Anypoint Studio
JUnit and MUnit Set Up In Anypoint StudioJUnit and MUnit Set Up In Anypoint Studio
JUnit and MUnit Set Up In Anypoint Studio
 
Delphi - Howto Services
Delphi - Howto ServicesDelphi - Howto Services
Delphi - Howto Services
 
Anypoint runtime manager v1
Anypoint runtime manager v1Anypoint runtime manager v1
Anypoint runtime manager v1
 
Dot Net environment setup and Installation
Dot Net environment setup and InstallationDot Net environment setup and Installation
Dot Net environment setup and Installation
 
Mule: Munit domain support
Mule: Munit domain supportMule: Munit domain support
Mule: Munit domain support
 
Github plugin setup in anypointstudio
Github plugin setup in anypointstudioGithub plugin setup in anypointstudio
Github plugin setup in anypointstudio
 
Mule soft munit test
Mule soft munit testMule soft munit test
Mule soft munit test
 
MUnit run and wait scope
MUnit run and wait scopeMUnit run and wait scope
MUnit run and wait scope
 
How To Install Sonar Qube Plugin In Anypoint Studio
How To Install Sonar Qube Plugin In Anypoint StudioHow To Install Sonar Qube Plugin In Anypoint Studio
How To Install Sonar Qube Plugin In Anypoint Studio
 
Mule esb soap_service
Mule esb soap_serviceMule esb soap_service
Mule esb soap_service
 
How to install sonarqube plugin in anypoint
How to install sonarqube plugin in anypoint How to install sonarqube plugin in anypoint
How to install sonarqube plugin in anypoint
 
Integration with CMIS using Mule ESB
Integration with CMIS using Mule ESBIntegration with CMIS using Mule ESB
Integration with CMIS using Mule ESB
 
Mocking with salesforce using Munit
Mocking with salesforce using MunitMocking with salesforce using Munit
Mocking with salesforce using Munit
 

Similar to Configuring an application_server_in_eclipse

Part 1 implementing a simple_web_service
Part 1 implementing a simple_web_servicePart 1 implementing a simple_web_service
Part 1 implementing a simple_web_service
krishmdkk
 
Part 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdlPart 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdl
krishmdkk
 
Setting up your virtual infrastructure using fi lab cloud
Setting up your virtual infrastructure using fi lab cloudSetting up your virtual infrastructure using fi lab cloud
Setting up your virtual infrastructure using fi lab cloud
Henar Muñoz Frutos
 
Lab jam websphere message broker labs
Lab jam   websphere message broker labsLab jam   websphere message broker labs
Lab jam websphere message broker labs
Eng Binary
 
5) running applications
5) running applications5) running applications
5) running applications
techbed
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
butest
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
butest
 

Similar to Configuring an application_server_in_eclipse (20)

Part 1 implementing a simple_web_service
Part 1 implementing a simple_web_servicePart 1 implementing a simple_web_service
Part 1 implementing a simple_web_service
 
Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editor
 
Part 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdlPart 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdl
 
Mule Tcat server
Mule  Tcat serverMule  Tcat server
Mule Tcat server
 
Building A Simple Web Service With CXF
Building A Simple Web Service With CXFBuilding A Simple Web Service With CXF
Building A Simple Web Service With CXF
 
Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual
 
Setting up your virtual infrastructure using fi lab cloud
Setting up your virtual infrastructure using fi lab cloudSetting up your virtual infrastructure using fi lab cloud
Setting up your virtual infrastructure using fi lab cloud
 
Setting up your virtual infrastructure using FI-LAB Cloud
Setting up your virtual infrastructure using FI-LAB CloudSetting up your virtual infrastructure using FI-LAB Cloud
Setting up your virtual infrastructure using FI-LAB Cloud
 
How to install oracle ops center 12c
How to install oracle ops center 12cHow to install oracle ops center 12c
How to install oracle ops center 12c
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 servers
 
Poc setting up citrix presentation server 4.5 for proof of concept
Poc   setting up citrix presentation server 4.5 for proof of conceptPoc   setting up citrix presentation server 4.5 for proof of concept
Poc setting up citrix presentation server 4.5 for proof of concept
 
Murach : How to develop a single-page MVC web
Murach : How to develop a single-page MVC web Murach : How to develop a single-page MVC web
Murach : How to develop a single-page MVC web
 
Serverless and Kubernetes Workshop on IBM Cloud
Serverless and Kubernetes Workshop on IBM CloudServerless and Kubernetes Workshop on IBM Cloud
Serverless and Kubernetes Workshop on IBM Cloud
 
Background Tasks with Worker Service
Background Tasks with Worker ServiceBackground Tasks with Worker Service
Background Tasks with Worker Service
 
How to-install-sql-server-2008
How to-install-sql-server-2008How to-install-sql-server-2008
How to-install-sql-server-2008
 
Lab jam websphere message broker labs
Lab jam   websphere message broker labsLab jam   websphere message broker labs
Lab jam websphere message broker labs
 
5) running applications
5) running applications5) running applications
5) running applications
 
Java netbeans
Java netbeansJava netbeans
Java netbeans
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
 

Recently uploaded

一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理
一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理
一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理
apekaom
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样
一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样
一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样
AS
 
一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理
SS
 
原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样
AS
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理
A
 
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
hfkmxufye
 
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
mikehavy0
 

Recently uploaded (20)

一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理
一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理
一比一原版桑佛德大学毕业证成绩单申请学校Offer快速办理
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Loker Pemandu Lagu LC Semarang 085746015303
Loker Pemandu Lagu LC Semarang 085746015303Loker Pemandu Lagu LC Semarang 085746015303
Loker Pemandu Lagu LC Semarang 085746015303
 
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuineSholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
Sholinganallur (Chennai) Independent Escorts - 9632533318 100% genuine
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样
一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样
一比一原版(毕业证书)新西兰怀特克利夫艺术设计学院毕业证原件一模一样
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理
 
原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样原版定制英国赫瑞瓦特大学毕业证原件一模一样
原版定制英国赫瑞瓦特大学毕业证原件一模一样
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
20240509 QFM015 Engineering Leadership Reading List April 2024.pdf
 
一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理
 
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
 
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
如何办理(UCLA毕业证)加州大学洛杉矶分校毕业证成绩单本科硕士学位证留信学历认证
 
Nungambakkam (Chennai) Independent Escorts - 9632533318 100% genuine
Nungambakkam (Chennai) Independent Escorts - 9632533318 100% genuineNungambakkam (Chennai) Independent Escorts - 9632533318 100% genuine
Nungambakkam (Chennai) Independent Escorts - 9632533318 100% genuine
 
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
Abortion Clinic in Germiston +27791653574 WhatsApp Abortion Clinic Services i...
 
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptxA LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
A LOOK INTO NETWORK TECHNOLOGIES MAINLY WAN.pptx
 
Washington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers ShirtWashington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers Shirt
 
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
 

Configuring an application_server_in_eclipse

  • 1. T320 E-business technologies: foundations and practice Configuring an Application Server in Eclipse Prepared for the course team by Neil Simpkins 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 FilesApache Software FoundationTomcat 5.5 C:Program FilesJavajdk1.5.0_14 You will need the path to Tomcat later. Copyright © 2008 The Open University This document is made available under the Creative Commons Attribution - No Derivative Works 3.0 Unported Licence (http://creativecommons.org/licenses/by-nd/3.0/) WEB 00713 4 1.1
  • 2. T320 E-business technologies: foundations and practice Viewing the configured servers Eclipse can be configured to access several application servers. When you create certain types of project or perform some operation that uses an application server, you may then select the appropriate server from the list of those available. Eclipse will manage the server, starting it and displaying its status for you. To view the servers that have been set up within Eclipse, open Eclipse by double-clicking on the 'Eclipse for Block 3' shortcut. If this is the first time you have used this shortcut you will see the Welcome screen; either click on the 'Workbench' button or close the tab in the top left-hand corner. Once the workbench is showing, select Window > Show view > Servers…, (Figure 1). Figure 1 Selecting the Servers view The Servers view will open at the bottom of Eclipse. It may be empty or it may list one or more configured servers. In Figure 2 the list is empty but in Figure 3 a single Tomcat 5.5 server is shown. You need to have at least one such server configured to run applications on. Figure 2 Eclipse Servers view without any application server configured Configuring an Application Server in Eclipse | 2
  • 3. T320 E-business technologies: foundations and practice Figure 3 Single Tomcat 5.5 server listed in Servers view Configuring an application server A wizard is used to configure a new server. Select File > New > Other…, then open the 'Server' folder and select 'Server' (Figure 4). Click 'Next'. Figure 4 Selecting the New Server wizard You will then see a dialogue box that allows you to select from the types of server that you have available (Figure 5). Select the Tomcat 5.5 server under the ‘Apache’ folder, unless you have installed another server that you prefer to use, and click 'Next'. Configuring an Application Server in Eclipse | 3
  • 4. T320 E-business technologies: foundations and practice Figure 5 Choosing the type of server to create In the next dialogue box (Figure 6) you are required to specify the path to the installed server and to select a Java Runtime Environment (JRE). Set the server path to point to your installed Tomcat (see the 'T320 configuration' shortcut). If you have used DVD 2 to install Eclipse and Java then you may leave the selected JRE to be the 'Workbench default JRE' option, as shown in Figure 6. If you have an installation of Java outside the Eclipse installation then this should appear in the drop-down list; if this is not the case but you have installed Java then you can add your installation to the list by clicking the 'Installed JREs…' button and browsing to the location. When you are ready, click 'Next'. Configuring an Application Server in Eclipse | 4
  • 5. T320 E-business technologies: foundations and practice Figure 6 Specifying the server installation path The next dialogue box allows you to add any projects to the server (Figure 7). This will mean that the project code is run on the specified server. If you have yet to create a project that you want to run on the server then this can be done later when you create or start to run the project. Add whatever projects you require to the server (Figure 8) and click 'Finish'. The server you have specified should now appear in the Servers view (Figure 9). A server can be started or stopped by right-clicking on the server in the Servers view, but Eclipse will itself offer to start the server when this is required. Now that a server has been configured, it can be used to host web pages, applications and web services. Configuring an Application Server in Eclipse | 5
  • 6. T320 E-business technologies: foundations and practice Configuring an Application Server in Eclipse | 6 Figure 7 Adding projects to a server
  • 7. T320 E-business technologies: foundations and practice Configuring an Application Server in Eclipse | 7 Figure 8 Selected projects added to the server
  • 8. T320 E-business technologies: foundations and practice Configuring an Application Server in Eclipse | 8 Figure 9 New server listed in Servers view