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

Mule debugging
Mule   debuggingMule   debugging
Mule debuggingSindhu VL
 
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 StudioSudha Ch
 
Delphi - Howto Services
Delphi - Howto ServicesDelphi - Howto Services
Delphi - Howto ServicesNiall Munro
 
Anypoint runtime manager v1
Anypoint runtime manager v1Anypoint runtime manager v1
Anypoint runtime manager v1Son Nguyen
 
Dot Net environment setup and Installation
Dot Net environment setup and InstallationDot Net environment setup and Installation
Dot Net environment setup and Installatione-visionlabs
 
Mule: Munit domain support
Mule: Munit domain supportMule: Munit domain support
Mule: Munit domain supportShanky Gupta
 
Github plugin setup in anypointstudio
Github plugin setup in anypointstudioGithub plugin setup in anypointstudio
Github plugin setup in anypointstudioRajkattamuri
 
Mule soft munit test
Mule soft munit testMule soft munit test
Mule soft munit testSon Nguyen
 
MUnit run and wait scope
MUnit run and wait scopeMUnit run and wait scope
MUnit run and wait scopeShanky Gupta
 
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 StudioSudha Ch
 
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 javeed_mhd
 
Integration with CMIS using Mule ESB
Integration with CMIS using Mule ESBIntegration with CMIS using Mule ESB
Integration with CMIS using Mule ESBSanjeet Pandey
 
Mocking with salesforce using Munit
Mocking with salesforce using MunitMocking with salesforce using Munit
Mocking with salesforce using MunitSon Nguyen
 

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_servicekrishmdkk
 
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 editorSantosh Kumar Kar
 
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_wsdlkrishmdkk
 
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 CXFCarl Lu
 
Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual Cloud and Ubiquitous Computing manual
Cloud and Ubiquitous Computing manual Sonali Parab
 
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 cloudHenar Muñoz Frutos
 
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 CloudFIWARE
 
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 12cMuqthiyar Pasha
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 serversMark Myers
 
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 conceptxKinAnx
 
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 MahmoudOHassouna
 
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 CloudAnsgar Schmidt
 
Background Tasks with Worker Service
Background Tasks with Worker ServiceBackground Tasks with Worker Service
Background Tasks with Worker Servicessusere19c741
 
How to-install-sql-server-2008
How to-install-sql-server-2008How to-install-sql-server-2008
How to-install-sql-server-2008arungnath
 
Lab jam websphere message broker labs
Lab jam   websphere message broker labsLab jam   websphere message broker labs
Lab jam websphere message broker labsEng Binary
 
5) running applications
5) running applications5) running applications
5) running applicationstechbed
 
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 Servicebutest
 
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 Servicebutest
 

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

一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样ayvbos
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制pxcywzqs
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsMonica Sydney
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC
 
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.krishnachandrapal52
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoilmeghakumariji156
 
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call GirlsMira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call GirlsPriya Reddy
 
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime BalliaBallia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Balliameghakumariji156
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasDigicorns Technologies
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiMonica Sydney
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdfMatthew Sinclair
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrHenryBriggs2
 
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...kumargunjan9515
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfJOHNBEBONYAP1
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...kajalverma014
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样ayvbos
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查ydyuyu
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 

Recently uploaded (20)

一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
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.
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call GirlsMira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
Mira Road Housewife Call Girls 07506202331, Nalasopara Call Girls
 
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime BalliaBallia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
Ballia Escorts Service Girl ^ 9332606886, WhatsApp Anytime Ballia
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 

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