Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Web Application Server Installation and Configuration
By Prof. B.A.Khivsara
Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and not for commercial use.
Web Server
• A Web server is a program that generates and
• transmits responses to client requests for Web
• resources.
• Handling a client request consists of several
• key steps:
• Parsing the request message
• Checking that the request is authorized
• Associating the URL in the request with a file name
• Constructing the response message
• Transmitting the response message to the requesting client
Web Server Definition
• The server can generate the response message in a
variety of ways:
• The server simply retrieves the file associated with the URL and
returns the contents to the client.
• The server may invoke a script that communicates with other
servers or a back-end database to construct the response
message.
Web Site versus Web Server
• Web site and Web server are different:
• A Web site consists of a collection of Web pages
associated with a particular hostname.
• A Web server is a program to satisfy client requests
for Web resources.
What is role of Web Server?
A web server is a specialized type of file server.
Its job is to retrieve files from the server’s hard drive, format the files for the Web browser, and send them out via the network.
Web servers are designed to do a great job of sending static content out to a large number of users.
The pages delivered by the server are expected to be the same for everyone who visits the server.
What is Web Application Server? Web application servers are designed specifically to extend web servers to support dynamic content.
The web server still sends out static web pages and graphic files–Just like before.
But now, the application server can create dynamic content by mixing data with templates, running programs, or by accessing databases.
Examples
Web Server Examples Web Application Server Examples
Apache Web Server- Tomcat IBM- WebSphere
IIS Web Server Jboss Community- JBoss
PWS Oracle - GlassFish
Installation and configuration of Apache Tomcat • Go to following Web site
• https://tomcat.apache.org/download-80.cgi
• Click on 32bit/64-bit windows service Installer
Installation and configuration of Apache Tomcat
Click on Save File
Installation and configuration of Apache Tomcat
Click on Save File & then go to download folder & click on apache-tomcat exe file
Installation and configuration of Apache Tomcat
Click on Next
Installation and configuration of Apache Tomcat
Click on I Agree
Installation and configuration of Apache Tomcat
Click on Next
Installation and configuration of Apache Tomcat
Click on Next
Installation and configuration of Apache Tomcat
Click on Next
Installation and configuration of Apache Tomcat
Click on Install
Installation and configuration of Apache Tomcat
Installation is in Progress
Installation and configuration of Apache Tomcat
Click on Finish
Installation and configuration of Apache Tomcat
Service Manager is starting service
Installation and configuration of Apache Tomcat
Go to My Computer -> Program Files -> and click on Apache Software Foundation
Installation and configuration of Apache Tomcat
Click on Tomcat Folder-> Bin -> and right click on Tomcat8W
Installation and configuration of Apache Tomcat
Click on Send To -> Desktop
Installation and configuration of Apache Tomcat
Shortcut is created on Desktop
Installation and configuration of Apache Tomcat
Go to Browser type localhost:8080 in address bar, this kind of window will be displayed.
To stop Apache Server
• Click on
• Then Click on Stop button
• And then press ok button
The Major Differences Between JBoss and Tomcat
Both JBoss and Tomcat are Java servlet application servers, but JBoss is a whole lot more.
The substantial difference between the two is that JBoss provides a full Java Enterprise Edition (JEE) stack, including Enterprise JavaBeans and many other technologies that are useful for developers working on enterprise Java applications.
Tomcat is much more limited.
One way to think of it is that JBoss is a JEE stack that includes a servlet container and web server, whereas Tomcat, for the most part, is a servlet container and web server.
Installation and configuration of JBoss • https://tools.jboss.org/downloads/installation.html
• Video Tutorial to install Jboss with Eclipse IDE
References
• https://www.youtube.com/watch?v=CgxNDydGyuE