SlideShare a Scribd company logo
Sasidhar
JAVA SERVLETSJAVA SERVLETS
SASIDHAR
Sasidhar
2
Web Server
A web server is a network server that manages
access to files, folders and other resources over
Internet or local Intranet via HTTP
◦ Handle permissions
◦ Execute programs
◦ Keep track of directories and files
◦ Communicate with client computers
A web server consists of a computer with:
◦ a suitable operating system
◦ a suitable file system
◦ a network connection
◦ web server software – which accepts requests from
browsers such as IE and Netscape
Sasidhar
Web Server ………
 A Web server handles the HTTP protocol.
 When the Web server receives an HTTP request, it
responds with an HTTP response, such as sending back an
HTML page.
 To process a request, a Web server may respond with a
HTML page or image, send a redirect, or delegate the
dynamic response generation to some other program such
as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs
(Active Server Pages), server-side JavaScripts, or some
other server-side technology.
 such server-side programs generate a response, most often
in HTML, for viewing in a Web browser.
.
Sasidhar
Web Server ……..
Web server's delegation model is fairly simple.
When a request comes into the Web server, the
Web server simply passes the request to the
program best able to handle it.
The Web server doesn't provide any functionality
beyond simply providing an environment in which
the server-side program can execute and pass
back the generated responses.
The server-side program usually provides for itself
such functions as transaction processing, database
connectivity, and messaging.
Sasidhar
Web Server …….
While a Web server may not itself support
transactions or database connection pooling,
it may employ various strategies for fault
tolerance and scalability such as load
balancing, caching, and clustering—features
oftentimes erroneously assigned as features
reserved only for application servers
Sasidhar
6
Web Architecture
Multi-tier architecture:
◦ Application-level or middleware: has an application
server, which is used to find requested data and
services, makes them available for viewing, and carries
out transactions.
◦ Data and service level: has a variety of data and services
accessible by the application server.
Database
server
Client computers
with web
browsers
Web server
Internet
HTTP request
HTTP response
Presentation
level
Content level
Data and
service level
Application
server
Application
level
Billing
system
Sasidhar
Application Server
Application server exposes business logic to
client applications through various protocols,
including HTTP.
Application server provides access to
business logic for use by client application
programs. The application program can use
this logic just as it would call a method on an
object (or a function in the procedural
world).
Sasidhar
Application Server
Application server clients can include GUIs
(running on a PC, a Web server, or even
other application servers.
The information traveling back and forth
between an application server and its client is
not restricted to simple display markup.
 Instead, the information is program logic.
Since the logic takes the form of data and
method calls and not static HTML, the client
can employ the exposed business logic
however it wants.
Sasidhar
Application Server
In most cases, the server exposes this
business logic through a component API,
such as the EJB (Enterprise JavaBean)
component model found on J2EE (Java 2
Enterprise Edition) application servers.
 Moreover, the application server manages
its own resources that include security,
transaction processing, resource pooling, and
messaging.
Like a Web server, an application server may
also employ various scalability and fault-
tolerance techniques.
Sasidhar
Application Server
Sasidhar
Web serversWeb servers
Internet Information Server
Personal Web Server
Java Web Server
Apache Tomcat Server
Web Logic
Sasidhar
Tomcat web serverTomcat web server
 For the deployment the steps are to be followed:
1. Put the source code for the servlet in the
Server_root/webapps/ROOT/WEB-INF/classes directory
This is a standard location for servlet class files.
2. Include server_root /lib/servlet.jar somewhere in class
path so that the two packages will be included in the class
path.
3. Compile the servlet using javac filename.java
4. After compiling start the server by looking the startup.sh
script in the server root/bin directory
Sasidhar
To access the servlet, type the URL in the
browser as (if the server is on the local machine)
http://localhost :8080/servlet/passwordcheck.
Tomcat web serverTomcat web server
Sasidhar
Introduction to servletsIntroduction to servlets
Servlet runs on the server and will respond to a
request from the client either in the form of
HTML pages, dynamic pages or indeed applets.

More Related Content

What's hot

Module – administer ca service desk
Module – administer ca service deskModule – administer ca service desk
Module – administer ca service deskArshad Havaldar
 
Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3Mike Taylor
 
State management
State managementState management
State managementIblesoft
 
Session and state management
Session and state managementSession and state management
Session and state management
Paneliya Prince
 
Websphere - Introduction to SSL part 1
Websphere  - Introduction to SSL part 1Websphere  - Introduction to SSL part 1
Websphere - Introduction to SSL part 1
Vibrant Technologies & Computers
 
Internet server components
Internet server componentsInternet server components
Internet server componentsJay Patel
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
Humma Rashid
 
State management
State managementState management
State management
teach4uin
 
SharePoint Saturday bmore2015
SharePoint Saturday bmore2015SharePoint Saturday bmore2015
SharePoint Saturday bmore2015
Bhakthi Liyanage
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
Linux Training Chennai
 
05 asp.net session07
05 asp.net session0705 asp.net session07
05 asp.net session07
Vivek chan
 
State Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVCState Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVC
jinaldesailive
 
Aqua presentation
Aqua presentationAqua presentation
Aqua presentation
Shivnarayan Varma
 
State management in ASP .NET
State  management in ASP .NETState  management in ASP .NET

What's hot (16)

Module – administer ca service desk
Module – administer ca service deskModule – administer ca service desk
Module – administer ca service desk
 
Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3Web application-for-financial-and-economic-data-analysis3
Web application-for-financial-and-economic-data-analysis3
 
State management
State managementState management
State management
 
Session and state management
Session and state managementSession and state management
Session and state management
 
Websphere - Introduction to SSL part 1
Websphere  - Introduction to SSL part 1Websphere  - Introduction to SSL part 1
Websphere - Introduction to SSL part 1
 
Internet server components
Internet server componentsInternet server components
Internet server components
 
Web servers
Web serversWeb servers
Web servers
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
State management
State managementState management
State management
 
SharePoint Saturday bmore2015
SharePoint Saturday bmore2015SharePoint Saturday bmore2015
SharePoint Saturday bmore2015
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 
05 asp.net session07
05 asp.net session0705 asp.net session07
05 asp.net session07
 
J2 ee architecture
J2 ee architectureJ2 ee architecture
J2 ee architecture
 
State Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVCState Management In ASP.NET And ASP.NET MVC
State Management In ASP.NET And ASP.NET MVC
 
Aqua presentation
Aqua presentationAqua presentation
Aqua presentation
 
State management in ASP .NET
State  management in ASP .NETState  management in ASP .NET
State management in ASP .NET
 

Viewers also liked

Bubble++wrap+festival_Sam
Bubble++wrap+festival_SamBubble++wrap+festival_Sam
Bubble++wrap+festival_Sam
Aiden Yeh
 
10 Reasons Why You Should Switch To An IP PBX
10 Reasons Why You Should Switch To An IP PBX10 Reasons Why You Should Switch To An IP PBX
10 Reasons Why You Should Switch To An IP PBX
Next|IX Systems
 
Aplicacion de herramientas y recursos tecnològicos en el aula.
Aplicacion de herramientas y recursos tecnològicos en el aula.Aplicacion de herramientas y recursos tecnològicos en el aula.
Aplicacion de herramientas y recursos tecnològicos en el aula.
Gloria Flores
 
Act. 1 silabo
Act. 1 silaboAct. 1 silabo
Act. 1 silabo
kymberly02
 
Aprendizaje colaborativo
Aprendizaje colaborativo Aprendizaje colaborativo
Aprendizaje colaborativo
DinorahG
 

Viewers also liked (6)

Bubble++wrap+festival_Sam
Bubble++wrap+festival_SamBubble++wrap+festival_Sam
Bubble++wrap+festival_Sam
 
10 Reasons Why You Should Switch To An IP PBX
10 Reasons Why You Should Switch To An IP PBX10 Reasons Why You Should Switch To An IP PBX
10 Reasons Why You Should Switch To An IP PBX
 
CVG
CVGCVG
CVG
 
Aplicacion de herramientas y recursos tecnològicos en el aula.
Aplicacion de herramientas y recursos tecnològicos en el aula.Aplicacion de herramientas y recursos tecnològicos en el aula.
Aplicacion de herramientas y recursos tecnològicos en el aula.
 
Act. 1 silabo
Act. 1 silaboAct. 1 silabo
Act. 1 silabo
 
Aprendizaje colaborativo
Aprendizaje colaborativo Aprendizaje colaborativo
Aprendizaje colaborativo
 

Similar to Servers names

Ecom 1
Ecom 1Ecom 1
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
20521742
 
Server side programming
Server side programming Server side programming
Server side programming
javed ahmed
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
Sasin Prabu
 
JAVA
JAVAJAVA
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web Server
Gagandeep Singh
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technology
Tanmoy Barman
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing
Techglyphs
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architectureAmit rai Raaz
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache Tomcat
Auwal Amshi
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02kishore2526
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
slire
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questions
gummadi1
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptx
karthiksmart21
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
SachinSingh217687
 
0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf
Zani10
 
UNIT-3 Servlet
UNIT-3 ServletUNIT-3 Servlet
UNIT-3 Servlet
ssbd6985
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
ADEEBANADEEM
 

Similar to Servers names (20)

Unit5 servlets
Unit5 servletsUnit5 servlets
Unit5 servlets
 
Ecom 1
Ecom 1Ecom 1
Ecom 1
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
 
Server side programming
Server side programming Server side programming
Server side programming
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
JAVA
JAVAJAVA
JAVA
 
Application server vs Web Server
Application server vs Web ServerApplication server vs Web Server
Application server vs Web Server
 
java Servlet technology
java Servlet technologyjava Servlet technology
java Servlet technology
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing
 
Servlet by Rj
Servlet by RjServlet by Rj
Servlet by Rj
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architecture
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache Tomcat
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questions
 
WEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptxWEB TECHNOLOGY Unit-3.pptx
WEB TECHNOLOGY Unit-3.pptx
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
 
0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf0_Leksion_Web_Servers (1).pdf
0_Leksion_Web_Servers (1).pdf
 
UNIT-3 Servlet
UNIT-3 ServletUNIT-3 Servlet
UNIT-3 Servlet
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 

More from Sasidhar Kothuru

Spsl vi unit final
Spsl vi unit finalSpsl vi unit final
Spsl vi unit final
Sasidhar Kothuru
 
Spsl iv unit final
Spsl iv unit  finalSpsl iv unit  final
Spsl iv unit final
Sasidhar Kothuru
 
Spsl v unit - final
Spsl v unit - finalSpsl v unit - final
Spsl v unit - final
Sasidhar Kothuru
 
Spsl iv unit final
Spsl iv unit  finalSpsl iv unit  final
Spsl iv unit final
Sasidhar Kothuru
 
Spsl v unit - final
Spsl v unit - finalSpsl v unit - final
Spsl v unit - final
Sasidhar Kothuru
 
Spsl by sasidhar 3 unit
Spsl by sasidhar  3 unitSpsl by sasidhar  3 unit
Spsl by sasidhar 3 unit
Sasidhar Kothuru
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
Sasidhar Kothuru
 
Spsl II unit
Spsl   II unitSpsl   II unit
Spsl II unit
Sasidhar Kothuru
 
Jdbc sasidhar
Jdbc  sasidharJdbc  sasidhar
Jdbc sasidhar
Sasidhar Kothuru
 
Servlets
ServletsServlets
Web Technologies -- Servlets 4 unit slides
Web Technologies -- Servlets   4 unit slidesWeb Technologies -- Servlets   4 unit slides
Web Technologies -- Servlets 4 unit slides
Sasidhar Kothuru
 
Xml quiz 3 unit
Xml quiz   3 unitXml quiz   3 unit
Xml quiz 3 unit
Sasidhar Kothuru
 
Web technologies quiz questions - unit1,2
Web technologies quiz questions  - unit1,2Web technologies quiz questions  - unit1,2
Web technologies quiz questions - unit1,2
Sasidhar Kothuru
 
Web technologies 4th unit quiz
Web technologies 4th unit quizWeb technologies 4th unit quiz
Web technologies 4th unit quiz
Sasidhar Kothuru
 
Web technologies quiz questions - unit1,2
Web technologies quiz questions  - unit1,2Web technologies quiz questions  - unit1,2
Web technologies quiz questions - unit1,2Sasidhar Kothuru
 
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
Sasidhar Kothuru
 
Xml sasidhar
Xml  sasidharXml  sasidhar
Xml sasidhar
Sasidhar Kothuru
 
Java script -23jan2015
Java script -23jan2015Java script -23jan2015
Java script -23jan2015
Sasidhar Kothuru
 

More from Sasidhar Kothuru (20)

Spsl vi unit final
Spsl vi unit finalSpsl vi unit final
Spsl vi unit final
 
Spsl iv unit final
Spsl iv unit  finalSpsl iv unit  final
Spsl iv unit final
 
Spsl v unit - final
Spsl v unit - finalSpsl v unit - final
Spsl v unit - final
 
Spsl iv unit final
Spsl iv unit  finalSpsl iv unit  final
Spsl iv unit final
 
Spsl v unit - final
Spsl v unit - finalSpsl v unit - final
Spsl v unit - final
 
Spsl by sasidhar 3 unit
Spsl by sasidhar  3 unitSpsl by sasidhar  3 unit
Spsl by sasidhar 3 unit
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
 
Spsl II unit
Spsl   II unitSpsl   II unit
Spsl II unit
 
Jdbc sasidhar
Jdbc  sasidharJdbc  sasidhar
Jdbc sasidhar
 
Servlets
ServletsServlets
Servlets
 
Servers names
Servers namesServers names
Servers names
 
Web Technologies -- Servlets 4 unit slides
Web Technologies -- Servlets   4 unit slidesWeb Technologies -- Servlets   4 unit slides
Web Technologies -- Servlets 4 unit slides
 
Xml quiz 3 unit
Xml quiz   3 unitXml quiz   3 unit
Xml quiz 3 unit
 
Web technologies quiz questions - unit1,2
Web technologies quiz questions  - unit1,2Web technologies quiz questions  - unit1,2
Web technologies quiz questions - unit1,2
 
Web technologies 4th unit quiz
Web technologies 4th unit quizWeb technologies 4th unit quiz
Web technologies 4th unit quiz
 
Xml quiz 3 unit
Xml quiz   3 unitXml quiz   3 unit
Xml quiz 3 unit
 
Web technologies quiz questions - unit1,2
Web technologies quiz questions  - unit1,2Web technologies quiz questions  - unit1,2
Web technologies quiz questions - unit1,2
 
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
 
Xml sasidhar
Xml  sasidharXml  sasidhar
Xml sasidhar
 
Java script -23jan2015
Java script -23jan2015Java script -23jan2015
Java script -23jan2015
 

Recently uploaded

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 

Recently uploaded (20)

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 

Servers names

  • 2. Sasidhar 2 Web Server A web server is a network server that manages access to files, folders and other resources over Internet or local Intranet via HTTP ◦ Handle permissions ◦ Execute programs ◦ Keep track of directories and files ◦ Communicate with client computers A web server consists of a computer with: ◦ a suitable operating system ◦ a suitable file system ◦ a network connection ◦ web server software – which accepts requests from browsers such as IE and Netscape
  • 3. Sasidhar Web Server ………  A Web server handles the HTTP protocol.  When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page.  To process a request, a Web server may respond with a HTML page or image, send a redirect, or delegate the dynamic response generation to some other program such as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-side JavaScripts, or some other server-side technology.  such server-side programs generate a response, most often in HTML, for viewing in a Web browser. .
  • 4. Sasidhar Web Server …….. Web server's delegation model is fairly simple. When a request comes into the Web server, the Web server simply passes the request to the program best able to handle it. The Web server doesn't provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses. The server-side program usually provides for itself such functions as transaction processing, database connectivity, and messaging.
  • 5. Sasidhar Web Server ……. While a Web server may not itself support transactions or database connection pooling, it may employ various strategies for fault tolerance and scalability such as load balancing, caching, and clustering—features oftentimes erroneously assigned as features reserved only for application servers
  • 6. Sasidhar 6 Web Architecture Multi-tier architecture: ◦ Application-level or middleware: has an application server, which is used to find requested data and services, makes them available for viewing, and carries out transactions. ◦ Data and service level: has a variety of data and services accessible by the application server. Database server Client computers with web browsers Web server Internet HTTP request HTTP response Presentation level Content level Data and service level Application server Application level Billing system
  • 7. Sasidhar Application Server Application server exposes business logic to client applications through various protocols, including HTTP. Application server provides access to business logic for use by client application programs. The application program can use this logic just as it would call a method on an object (or a function in the procedural world).
  • 8. Sasidhar Application Server Application server clients can include GUIs (running on a PC, a Web server, or even other application servers. The information traveling back and forth between an application server and its client is not restricted to simple display markup.  Instead, the information is program logic. Since the logic takes the form of data and method calls and not static HTML, the client can employ the exposed business logic however it wants.
  • 9. Sasidhar Application Server In most cases, the server exposes this business logic through a component API, such as the EJB (Enterprise JavaBean) component model found on J2EE (Java 2 Enterprise Edition) application servers.  Moreover, the application server manages its own resources that include security, transaction processing, resource pooling, and messaging. Like a Web server, an application server may also employ various scalability and fault- tolerance techniques.
  • 11. Sasidhar Web serversWeb servers Internet Information Server Personal Web Server Java Web Server Apache Tomcat Server Web Logic
  • 12. Sasidhar Tomcat web serverTomcat web server  For the deployment the steps are to be followed: 1. Put the source code for the servlet in the Server_root/webapps/ROOT/WEB-INF/classes directory This is a standard location for servlet class files. 2. Include server_root /lib/servlet.jar somewhere in class path so that the two packages will be included in the class path. 3. Compile the servlet using javac filename.java 4. After compiling start the server by looking the startup.sh script in the server root/bin directory
  • 13. Sasidhar To access the servlet, type the URL in the browser as (if the server is on the local machine) http://localhost :8080/servlet/passwordcheck. Tomcat web serverTomcat web server
  • 14. Sasidhar Introduction to servletsIntroduction to servlets Servlet runs on the server and will respond to a request from the client either in the form of HTML pages, dynamic pages or indeed applets.